diff --git a/src/AutoAffix.js b/src/AutoAffix.js index 9e59a01b..7c817145 100644 --- a/src/AutoAffix.js +++ b/src/AutoAffix.js @@ -152,6 +152,7 @@ AutoAffix.propTypes = { // This intentionally doesn't inherit default props from ``, so that the // auto-calculated offsets can apply. AutoAffix.defaultProps = { + viewportOffsetTop: 0, autoWidth: true };