useToolbar
Adds a toolbar to the UI.
Syntax
useToolbar(toolbar);
Parameters
Name | Type | Description |
---|---|---|
toolbar | ToolbarElement | The toolbar to add. |
Example
useToolbar({
id: 'my-toolbar',
position: 'bottom',
items: [
{
name: 'Open House Menu',
key: 'Y',
},
],
});
Available on: Client