diff --git a/src/index.js b/src/index.js index 6fb1bd7..f6a99f6 100644 --- a/src/index.js +++ b/src/index.js @@ -11,7 +11,7 @@ class WindowSizeListener extends React.Component { super(props); this.displayName = "WindowSizeListener"; this._listeners = []; - this.DEBOUNCE_TIME = 100; + this.DEBOUNCE_TIME = this.props.debounceTime; this.onResize = this.onResize.bind(this); }