Toolbar.Menu
PartAPI 2| Signature | Toolbar.Menu: FunctionComponent<MenuProps> & {
readonly Item: FunctionComponent<CommandProps>;
/** Bundleware 0.4 and later. */
readonly Section: FunctionComponent<MenuSectionProps>;
} |
|---|---|
| Take it from | const { Toolbar } = Bundleware; |
Props
| Prop | Type | Description |
|---|---|---|
title | string | |
icon | IconRef | Optional. |
ink | Ink | Optional. The trigger tab's cap and icon colour; defaults to the toolbar's ink. |
note | string | Optional. Fine print at the foot of the menu, such as 'Played on this device from public-domain scores.' |
children | Children | Optional. <Toolbar.Menu.Item> entries, and <Toolbar.Menu.Section>s of them. |
Availability
| Applicable versions | API 2 and higher |
|---|---|
| Bundleware | 0.3.0, build 2026.10.29 |