chrvadala / react-svg-pan-zoom

:eyes: A React component that adds pan and zoom features to SVG
https://chrvadala.github.io/react-svg-pan-zoom/
MIT License
681 stars 127 forks source link

Hide tool controls? #119

Closed GarrettFleischer closed 6 years ago

GarrettFleischer commented 6 years ago

Features:

Is it possible to hide the tool controls and default the behavior to the "auto" tool?

chrvadala commented 6 years ago

Sure, you can set up the props tool="auto" and miniaturePosition="none"

Any available props is available here https://github.com/chrvadala/react-svg-pan-zoom/blob/master/docs/documentation.md#available-props

GarrettFleischer commented 6 years ago

Awesome, thanks!