ControlBarProps interface

Props for ControlBar.

Properties

children

React Child components.

layout

Changes the layout of the control bar. Available layouts are horizontal, vertical, dockedTop, dockedBottom, dockedLeft, dockedRight, floatingTop, floatingBottom, floatingLeft, floatingRight Defaults to a horizontal layout.

styles

Allows users to pass an object containing custom CSS styles.

Property Details

children

React Child components.

children?: ReactNode

Property Value

ReactNode

layout

Changes the layout of the control bar. Available layouts are horizontal, vertical, dockedTop, dockedBottom, dockedLeft, dockedRight, floatingTop, floatingBottom, floatingLeft, floatingRight Defaults to a horizontal layout.

layout?: ControlBarLayout

Property Value

styles

Allows users to pass an object containing custom CSS styles.

styles?: BaseCustomStyles

Property Value