moonstone/SwitchItem

Provides Moonstone-themed item component and interactive togglable switch.

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

Members

SwitchItemComponent

Renders an item with a Switch.

import SwitchItem from '@enact/moonstone/SwitchItem';
Properties
css
Object

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:

  • switchItem - The root class name

ArrayBooleanFunctionModuleNumberObjectString