moonstone/ToggleIcon

Provides Moonstone-themed Icon component with interactive togglable capabilities.

Moonstone components that uses ToggleIcon:

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

Members

ToggleIconComponent

A customizable Moonstone starting point Icon that responds to the selected prop.

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

ToggleIconBaseComponent

A component that indicates a boolean state.

import {ToggleIconBase} from '@enact/moonstone/ToggleIcon';

ToggleIconDecoratorHigher-Order Component

Moonstone-specific behaviors to apply to ToggleIconBase.

import {ToggleIconDecorator} from '@enact/moonstone/ToggleIcon';
ArrayBooleanFunctionModuleNumberObjectString