Skip to main content

ControlsComponentProps

Extends​

  • DOMAttributes<HTMLDivElement>

Properties​

buttons?​

optional buttons: ControlsComponentButtons

Optional extra buttons to add to the controls component.


className?​

optional className: string

Optional class name to set on the control component's container


clear?​

optional clear: boolean

Whether or not to show the clear button, defaults to true.


clearMessage?​

optional clearMessage: string

Optional message to show the user when prompting them to confirm they want to clear the dataset


orientation?​

optional orientation: "row" | "column"

Optional orientation for the controls. Defaults to 'row'.


undoRedo?​

optional undoRedo: boolean

Whether or not to show undo/redo buttons, defaults to true


zoomButtons?​

optional zoomButtons: boolean

Whether or not to show the zoom in/zoom out buttons, defaults to false


zoomToExtents?​

optional zoomToExtents: boolean

Whether or not to show the zoom to extents button, defaults to true