in src/components/ZoomableSVGGroup.js [58:75]
static get defaultProps() {
return {
disabled: false,
// scale up or down at 6.5% of the previous size
zoomSpeed: 0.065,
// only pan to 75% of the width or height
panLimit: 0.75,
// no limit to scale
minScale: 0,
maxScale: Infinity,
onZoom() {},
onPan() {},
...ZOOMABLE_SVG_GROUP_EVENT_NAMES.reduce((obj, eventName) => ({
...obj,
[eventName]() {},
}), {}),
};
}