A definition's steps, read by readCubeDefinition, drawn read-only as Cube's canvas lays them out: its sources on the left, its output on the right; its parameters in a row above, each wired into the steps that read it. It pans and zooms, and a click on a step tells the host; nothing edits, so it has no step editor, menu, palette or minimap. It fills its container, which the host sizes, inside the host's Legend application, with Cube's stylesheet loaded; as the editor's root, its root is legend-cube, which Cube's theme colors are scoped to, on Cube's background.

Properties

displayName?: string

Used in debugging messages. You might want to set it explicitly if you want to display a different name for debugging purposes.


const MyComponent: FC = () => {
return <div>Hello!</div>
}

MyComponent.displayName = 'MyAwesomeComponent'
propTypes?: any

Ignored by React.

Only kept in types for backwards compatibility. Will be removed in a future major release.