diff --git a/Example/imageViewer/index.js b/Example/imageViewer/index.js index 1f8a7bd630e6..78ec369e1fc0 100644 --- a/Example/imageViewer/index.js +++ b/Example/imageViewer/index.js @@ -263,6 +263,8 @@ const WIDTH = 300; const HEIGHT = 300; class Viewer extends Component { + pinchRef = React.createRef(); + panRef = React.createRef(); constructor(props) { super(props); @@ -380,15 +382,15 @@ class Viewer extends Component { return (