Interface: ZoomControlProps
Properties for ZoomControl
component
Properties
animationDuration?
optional
animationDuration:number
Number of ms for the zoom animation (default is 200ms)
Defined in
packages/core/src/components/controls/ZoomControl.tsx:27
children?
optional
children: [Element
,Element
,Element
]
It's possible to customize the button, by passing to JSX Element. First one is for the "zoom in", second for "zoom out" and third for "view whole graph". Example :
<ZoomControl>
<BsZoomIn />
<BsZoomOut />
<BiReset />
</FullScreenControl>
Defined in
packages/core/src/components/controls/ZoomControl.tsx:41
className?
optional
className:string
HTML class that will be added to all div button wrapper
Defined in
packages/core/src/components/controls/ZoomControl.tsx:17
labels?
optional
labels:object
Map of the labels we use in the component. This is usefull for I18N
reset
reset:
undefined
|string
zoomIn
zoomIn:
undefined
|string
zoomOut
zoomOut:
undefined
|string
Defined in
packages/core/src/components/controls/ZoomControl.tsx:47
style?
optional
style:CSSProperties
HTML CSS style that will be added to all div button wrapper