Skip to content

Commit

Permalink
[changed] Friendlier default for AutoAffix
Browse files Browse the repository at this point in the history
  • Loading branch information
taion committed Nov 15, 2015
1 parent eb78645 commit 1857449
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/AutoAffix.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ AutoAffix.propTypes = {
// This intentionally doesn't inherit default props from `<Affix>`, so that the
// auto-calculated offsets can apply.
AutoAffix.defaultProps = {
viewportOffsetTop: 0,
autoWidth: true
};

Expand Down

0 comments on commit 1857449

Please sign in to comment.