Home > @theatre/studio > PaneClassDefinition

PaneClassDefinition interface

Signature:

export interface PaneClassDefinition 

Properties

Property Type Description
class string Each pane has a class, which is a string.
component React.ComponentType<{ paneId: string; }> A react component that renders the content of the pane. It is given a single prop, paneId, which is a unique identifier for the pane.If you wish to store and persist the state of the pane, simply use a sheet and an object.