Workspace
API reference and demos for Workspace.
Import
Section titled “Import”import { Workspace } from "@flanksource/clicky-ui/components";The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.
| Prop | Type | Default | Description |
|---|---|---|---|
className |
string |
— | — |
collapsedSides |
WorkspaceSideLocation[] |
— | Sides the host holds collapsed for now, such as while the center shows something that needs the full width: they render collapsed and lose their toggle, and the layout state keeps how they were. |
defaultValue |
Partial<WorkspaceLayoutState> |
{} |
— |
onValueChange |
(…) => void |
— | — |
panes* |
WorkspacePaneSpec[] |
— | — |
slots |
WorkspaceSlots |
— | — |
storageKey |
string |
— | — |
value |
WorkspaceLayoutState |
— | — |