IGroupItemProps
interface
Group & Selection
Props for an individual item inside a selectable group — its value, disabled state and optional selected class override.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- valueany
- The value represented by this item when selected inside the parent group.
- disabledboolean
- Prevents the item from being selected when true.
- selectedClassstring
- CSS class applied to this item when it is the selected one, overriding the group-level selectedClass.
Usage
Examples
Ready-to-paste code snippets using this interface.
Extending IGroupItemProps on a tab or chip item