moonstone/Checkbox

Moonstone styled checkbox components.

import Checkbox from '@enact/moonstone/Checkbox';

Members

CheckboxComponent

A checkbox component, ready to use in Moonstone applications.

Checkbox may be used independently to represent a togglable state but is more commonly used as part of CheckboxItem.

Usage:

<Checkbox selected />
import Checkbox from '@enact/moonstone/Checkbox';
Properties
children
StringObject

The icon displayed when selected.

See: moonstone/Icon.Icon.children
Default: 'check'
ArrayBooleanFunctionModuleNumberObjectString