Skip to main content

Interface: WorkspaceLayoutContainerProps

Props for WorkspaceLayoutRow and WorkspaceLayoutColumn components.

See

Extends

  • CommonWorkspaceLayoutProps

Properties

PropertyTypeDescriptionInherited from

animationDuration?

number

Expand/collapse animation duration for the child layout items.

children

WorkspaceChild | readonly WorkspaceChild[]

Child layout components.

collapsedSize?

number

Size to use when the layout component is collapsed.

The size is width if the component is inside layout row and height if it is inside column.

Default is 28 for a layout row, otherwise it is computed automatically.

CommonWorkspaceLayoutProps.collapsedSize

defaultCollapsed?

boolean

Whether the layout component is collapsed by default.

Default

false

CommonWorkspaceLayoutProps.defaultCollapsed

defaultSize?

number

Default size for the layout component.

The size is width if the component is inside layout row and height if it is inside column.

Default is computed automatically by dividing the space evenly between child components.

CommonWorkspaceLayoutProps.defaultSize

minSize?

number

Minimum size for the layout component.

If the layout component is resized below this size it would be considered collapsed.

The size is width if the component is inside layout row and height if it is inside column.

CommonWorkspaceLayoutProps.minSize

undocked?

boolean

Disables the docking for the layout component.

A layout component with docking displays controls to expand/collapse it if the component is the first or the last one within a column.

Default

false

CommonWorkspaceLayoutProps.undocked