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.

typescript

API

Properties

Every property declared by this interface, with its type, optionality and default.

value
any
The value represented by this item when selected inside the parent group.
disabled
boolean
Prevents the item from being selected when true.
selectedClass
string
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

typescript