in src/ZoomContainer.js [231:252]
render() {
const theZoomTransform =
this.svgRef && this.svgRef.current
? zoomTransform(this.svgRef.current)
: null;
return (
<svg
ref={this.svgRef}
width={this.props.width}
height={this.props.height}
>
<g
width={this.props.width}
height={this.props.height}
transform={theZoomTransform}
>
{this.props.children}
</g>
</svg>
);
}