Function: ZoomControl()
ZoomControl(
props
):ReactNode
|Promise
<ReactNode
>
Defined in: packages/core/src/components/controls/ZoomControl.tsx:68
The ZoomControl
create three UI buttons that allows the user to
- zoom in
- zoom out
- reset zoom (ie. see the whole graph)
<SigmaContainer>
<ControlsContainer>
<ZoomControl />
</ControlsContainer>
</SigmaContainer>
See ZoomControlProps for the component's properties.
Parameters
props
Returns
ReactNode
| Promise
<ReactNode
>