跳到主要内容
版本:1.x

Interface: IMenuBarItem

molecule.model.IMenuBarItem

Properties

data

Optional data: ISubMenuProps[]

Defined in

model/workbench/menuBar.ts:21


disabled

Optional disabled: boolean

Defined in

model/workbench/menuBar.ts:23


icon

Optional icon: string | Element

Defined in

model/workbench/menuBar.ts:20


id

Optional id: UniqueId

Defined in

model/workbench/menuBar.ts:18


name

Optional name: string

Defined in

model/workbench/menuBar.ts:19

Methods

render

Optional render(data): Element | ReactNode

Parameters

NameType
dataIMenuItemProps

Returns

Element | ReactNode

Defined in

model/workbench/menuBar.ts:22