diff --git a/src/DragScroll.jsx b/src/DragScroll.jsx index dd69be4..e8c9542 100644 --- a/src/DragScroll.jsx +++ b/src/DragScroll.jsx @@ -14,11 +14,11 @@ export default class DragScroll extends React.Component { } render() { - let sytle = null; + let style = null; if (this.props.height && this.props.width) { - sytle = {style: {height: this.props.height, width: this.props.width, overflow: 'auto'}}; + style = {style: {height: this.props.height, width: this.props.width, overflow: 'auto'}}; } - return