Skip to main content
Version: 0.9.0-beta.2

Interface: IActionBarItemProps<T>

molecule.component.IActionBarItemProps

Type parameters

NameType
Tany

Indexable

[key: string]: any

Properties

checked

Optional checked: boolean

Defined in

src/components/actionBar/index.tsx:23


contextMenu

Optional contextMenu: IMenuItemProps[]

Defined in

src/components/actionBar/index.tsx:25


data

Optional data: T

Defined in

src/components/actionBar/index.tsx:24


disabled

Optional disabled: boolean

Defined in

src/components/actionBar/index.tsx:22


icon

Optional icon: string | Element

Defined in

src/components/actionBar/index.tsx:21


id

id: UniqueId

Defined in

src/components/actionBar/index.tsx:18


name

Optional name: ReactNode

Defined in

src/components/actionBar/index.tsx:20


title

Optional title: string | Element

Defined in

src/components/actionBar/index.tsx:19

Methods

onClick

Optional onClick(event, item): void

Parameters

NameType
eventMouseEvent<Element, MouseEvent>
itemIActionBarItemProps<any>

Returns

void

Defined in

src/components/actionBar/index.tsx:30


onContextMenuClick

Optional onContextMenuClick(e, item): void

Parameters

NameType
eMouseEvent<Element, MouseEvent>
itemundefined | IMenuItemProps

Returns

void

Defined in

src/components/actionBar/index.tsx:26