DeviceChip

@Composable
fun DeviceChip(modifier: Modifier = Modifier, name: String, selected: Boolean, onClick: () -> Unit)

This function displays a device chip for the application.

Parameters

modifier

The modifier to be applied to the device chip.

name

The name of the device.

selected

The state of the device chip.

onClick

The action to be performed when the device chip is clicked.

Example usage:

DeviceChip(
modifier = Modifier,
name = emptyString,
selected = false,
onClick = { }
)