Skip to content
On this page

๐Ÿงญ @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.
})

Released under the GPL-3.0 License.