ControlsProps

The props provided by the Controls.

Props

NameDescriptionType
buttons
A function specifying the buttons that are rendered by the Controls component.
ControlsButtonProvider
className?
The CSS class of the Controls component.
string
orientation?
The orientation of the Controls component.
”horizontal” | “vertical”
position?
The position of the Controls component.
Position | “custom”
renderControls?
An optional component used for rendering a custom Controls component.
ComponentType<RenderControlsProps>