Checkbox
fun Checkbox(state: ToggleableState, onClick: () -> Unit?, modifier: Modifier = Modifier, colors: CheckboxColors = CheckboxDefaults.checkboxColors(), enabled: Boolean = true)
A Checkbox component with Miuix style, supporting three states: On, Off, and Indeterminate.
Parameters
state
The current ToggleableState of the Checkbox.
modifier
The modifier to be applied to the Checkbox.
colors
The CheckboxColors of the Checkbox.
enabled
Whether the Checkbox is enabled.