Function: registerUIPanel()
function registerUIPanel(panel: UIPanel): void
Registers a UI panel in the application's UI.
See UIPanel for more details on Panel definition
Parameters
| Parameter | Type | Description |
|---|---|---|
panel | UIPanel | The UI panel configuration object to be registered |
Returns
void
Example
registerUIPanel({
id: 'my-panel',
location: 'right'
component: () => <div style={{ width: '100px', flexShrink: 0 }}>Hello world</div>,
});