moonstone/ Checkbox Item
Moonstone styled item components with a toggleable checkbox.
import CheckboxItem from '@enact/moonstone/CheckboxItem';Members
CheckboxItemComponent
An item with a checkbox component, ready to use in Moonstone applications.
CheckboxItem may be used to allow the user to select a single option or used as part of a
Group when multiple selections are possible.
Usage:
<CheckboxItem
defaultSelected={selected}
onToggle={handleToggle}
>
Item with a Checkbox
</CheckboxItem>import CheckboxItem from '@enact/moonstone/CheckboxItem';Extends: moonstone/ToggleItem.ToggleItem
Properties
Customizes the component by mapping the supplied collection of CSS class names to the corresponding internal elements and states of this component.
The following classes are supported:
checkboxItem- The root class name
ArrayBooleanFunctionModuleNumberObjectString