Function: ControlsContainer()
ControlsContainer(
props
):ReactNode
|Promise
<ReactNode
>
Defined in: packages/core/src/components/controls/ControlsContainer.tsx:45
The ControlsContainer
is just a wrapper for other control components.
It defines their position and also their style with its CSS class react-sigma-controls
.
<SigmaContainer>
<ControlsContainer position={"bottom-right"}>
<ForceAtlasControl autoRunFor={2000} />
</ControlsContainer>
</SigmaContainer>
See ControlsContainerProps for the component's properties.
Parameters
props
Returns
ReactNode
| Promise
<ReactNode
>