Skip to main content

Interface: ActionBarItemConfig

Defined in: components/ActionBar/types.ts:9

Description

Configuration for a single item displayed within the ActionBar.

Properties

alt?

optional alt?: Element

Defined in: components/ActionBar/types.ts:21

Optional alternate element shown in an "alt" state or modal.


item

item: ReactNode

Defined in: components/ActionBar/types.ts:11

The renderable content for the item.


key

key: string

Defined in: components/ActionBar/types.ts:17

Unique identifier for the item.


position

position: "center" | "left" | "right"

Defined in: components/ActionBar/types.ts:13

The section of the ActionBar where this item should appear.


scale?

optional scale?: boolean

Defined in: components/ActionBar/types.ts:19

Whether the item should scale to fill available space.


title?

optional title?: string

Defined in: components/ActionBar/types.ts:15

Optional title used for accessibility or tooltips.