Home > @theatre/studio > IExtension

IExtension interface

A Theatre.js Studio extension. You can define one either in a separate package, or within your project.

Signature:

export interface IExtension 

Properties

Property Type Description
globalToolbar? { component: React.ComponentType<{}>; } (Optional) Set this if you'd like to add a component to the global toolbar (on the top)
id string Pick a unique ID for your extension. Ideally the name would be unique if the extension was to be published to the npm repository.
panes? Array<PaneClassDefinition> (Optional) Introduces new pane types.