If you are using React SVG Pan Zoom v1 you can migrate to v2 applying this changes
Change import {Viewer} from 'react-svg-pan-zoom';
with import {ReactSVGPanZoom} from 'react-svg-pan-zoom';
Change <Viewer> </Viewer>
with <ReactSVGPanZoom> </ReactSVGPanZoom>
Change onChange={event => this.setState({value: event.value})}
with onChangeValue={value => this.setState({value})}
Change detectPinch={true}
with detectWheel={true}