Interface: ZoomControlProps
Defined in: packages/core/src/components/controls/ZoomControl.tsx:13
Properties for ZoomControl component
Properties
animationDuration?
optionalanimationDuration:number
Defined in: packages/core/src/components/controls/ZoomControl.tsx:27
Number of ms for the zoom animation (default is 200ms)
children?
optionalchildren: [Element,Element,Element]
Defined in: packages/core/src/components/controls/ZoomControl.tsx:41
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>
className?
optionalclassName:string
Defined in: packages/core/src/components/controls/ZoomControl.tsx:17
HTML class that will be added to all div button wrapper
labels?
optionallabels:object
Defined in: packages/core/src/components/controls/ZoomControl.tsx:47
Map of the labels we use in the component. This is usefull for I18N
reset?
optionalreset:string
zoomIn?
optionalzoomIn:string
zoomOut?
optionalzoomOut:string
style?
optionalstyle:CSSProperties
Defined in: packages/core/src/components/controls/ZoomControl.tsx:22
HTML CSS style that will be added to all div button wrapper