moonstone/Item

Provides Moonstone styled item components and behaviors. Useful for content in lists.

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

Members

ItemComponent

A Moonstone styled item with built-in support for marqueed text, and Spotlight focus.

Usage:

<Item>Item Content</Item>
import Item from '@enact/moonstone/Item';

ItemBaseComponent

A Moonstone styled item without any behavior.

import {ItemBase} from '@enact/moonstone/Item';
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:

  • item - The root class name

ItemDecoratorHigher-Order Component

Moonstone specific item behaviors to apply to Item.

import {ItemDecorator} from '@enact/moonstone/Item';
ArrayBooleanFunctionModuleNumberObjectString