diff --git a/src/pages/Animation.js b/src/pages/Animation.js index 41f33c76e..d9f719fe3 100644 --- a/src/pages/Animation.js +++ b/src/pages/Animation.js @@ -5,7 +5,7 @@ import React from 'react'; import mxGraph from '../mxgraph/view/mxGraph'; -import mxPoint from "../mxgraph/util/mxPoint"; +import mxPoint from '../mxgraph/util/mxPoint'; class Animation extends React.Component { constructor(props) { @@ -17,9 +17,8 @@ class Animation extends React.Component { return ( <>
{this.el = el;}}
+ ref={el => {
+ this.el = el;
+ }}
style={{
border: 'solid 1px black',
overflow: 'hidden',
height: '241px',
- cursor: 'default'
+ cursor: 'default',
}}
/>
|
{this.propertiesEl = el;}}
+ ref={el => {
+ this.propertiesEl = el;
+ }}
style={{
border: 'solid 1px black',
- padding: '10px'
+ padding: '10px',
}}
/>
|