diff --git a/src/index.js b/src/index.js index bd08033..4919628 100644 --- a/src/index.js +++ b/src/index.js @@ -149,7 +149,7 @@ export default class ScrollHorizontal extends Component { return (
{ this.hScrollParent = r }} @@ -181,7 +181,8 @@ ScrollHorizontal.propTypes = { style: PropTypes.object, className: PropTypes.string, children: PropTypes.array.isRequired, - animValues: PropTypes.number + animValues: PropTypes.number, + disabled: PropTypes.bool } ScrollHorizontal.defaultProps = { @@ -190,5 +191,6 @@ ScrollHorizontal.defaultProps = { config: null, style: { width: `100%`, height: `100%` }, className: null, - animValues: null + animValues: null, + disabled: false }