Skip to main content

Interface: IMenuBarItem

model.IMenuBarItem

Table of contents

Properties

Properties

data

Optional data: ISubMenuProps[]

Defined in

src/model/workbench/menuBar.ts:21


disabled

Optional disabled: boolean

Defined in

src/model/workbench/menuBar.ts:23


icon

Optional icon: string | Element

Defined in

src/model/workbench/menuBar.ts:20


id

Optional id: UniqueId

Defined in

src/model/workbench/menuBar.ts:18


name

Optional name: string

Defined in

src/model/workbench/menuBar.ts:19


render

Optional render: (data: IMenuItemProps) => ReactNode | Element

Type declaration

▸ (data): ReactNode | Element

Parameters
NameType
dataIMenuItemProps
Returns

ReactNode | Element

Defined in

src/model/workbench/menuBar.ts:22