Skip to main content
Version: 1.x

Interface: IActionBarItemProps<T>

molecule.component.IActionBarItemProps

Type parameters

NameType
Tany

Indexable

[key: string]: any

Properties

checked

Optional checked: boolean

Defined in

components/actionBar/index.tsx:23


contextMenu

Optional contextMenu: IMenuItemProps[]

Defined in

components/actionBar/index.tsx:25


data

Optional data: T

Defined in

components/actionBar/index.tsx:24


disabled

Optional disabled: boolean

Defined in

components/actionBar/index.tsx:22


icon

Optional icon: string | Element

Defined in

components/actionBar/index.tsx:21


id

id: UniqueId

Defined in

components/actionBar/index.tsx:18


name

Optional name: ReactNode

Defined in

components/actionBar/index.tsx:20


title

Optional title: string | Element

Defined in

components/actionBar/index.tsx:19

Methods

onClick

Optional onClick(event, item): void

Parameters

NameType
eventMouseEvent<Element, MouseEvent>
itemIActionBarItemProps<any>

Returns

void

Defined in

components/actionBar/index.tsx:30


onContextMenuClick

Optional onContextMenuClick(e, item): void

Parameters

NameType
eMouseEvent<Element, MouseEvent>
itemundefined | IMenuItemProps

Returns

void

Defined in

components/actionBar/index.tsx:26