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

Question: How to remove Background (the grey region) #156

Closed ahsan-sabir closed 4 years ago

ahsan-sabir commented 4 years ago

Question:

Is there a way to remove the background (the grey area), and be left with only the svg image?

chrvadala commented 4 years ago

You can't remove it, but you can change the background color using the `background´ prop. Hope it helps