Interface: IActionBarItemProps<T>
molecule.component.IActionBarItemProps
Type parameters
Name | Type |
---|---|
T | any |
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
Name | Type |
---|---|
event | MouseEvent <Element , MouseEvent > |
item | IActionBarItemProps <any > |
Returns
void
Defined in
src/components/actionBar/index.tsx:30
onContextMenuClick
▸ Optional
onContextMenuClick(e
, item
): void
Parameters
Name | Type |
---|---|
e | MouseEvent <Element , MouseEvent > |
item | undefined | IMenuItemProps |
Returns
void