Skip to content

Commit

Permalink
Merge pull request react-bootstrap#35 from react-bootstrap/autoaffix-…
Browse files Browse the repository at this point in the history
…vot-default

[changed] Friendlier default for AutoAffix
  • Loading branch information
jquense committed Nov 16, 2015
2 parents eb78645 + 1857449 commit fc9661a
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 fc9661a

Please sign in to comment.