跳到主要内容
版本:0.9.0-beta.2

Interface: IMenuBarItem

molecule.model.IMenuBarItem

Properties

data

Optional data: ISubMenuProps[]

Defined in

src/model/workbench/menuBar.ts:20


icon

Optional icon: string | Element

Defined in

src/model/workbench/menuBar.ts:19


id

Optional id: UniqueId

Defined in

src/model/workbench/menuBar.ts:17


name

Optional name: string

Defined in

src/model/workbench/menuBar.ts:18

Methods

render

Optional render(data): Element | ReactNode

Parameters

NameType
dataIMenuItemProps

Returns

Element | ReactNode

Defined in

src/model/workbench/menuBar.ts:21