๐งญ @bridge/sidebar #
Module that allows extensions to create sidebar tabs. View Source Code
js
import { ... } from '@bridge/sidebar'
โก Functions #
create #
This function creates a new sidebar element and adds it to the current workspace.
- Signature:
create(config: SidebarElement)
- Returns:
SidebarElement
js
create({
id: 'myExtension',
displayName: 'Click Me',
icon: 'mdi-apple',
component: MyComponent, //MyComponent is from @bridge/ui.
})