Skip to content

Commit

Permalink
Loosen wrapper proptype constraints
Browse files Browse the repository at this point in the history
- Can be an element, string, etc
  • Loading branch information
jdlehman committed Dec 29, 2015
1 parent a0ff94c commit 612e6c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/switcheroo.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default class Switcher extends Component {
hashChange: PropTypes.bool,
load: PropTypes.bool,
onChange: PropTypes.func,
wrapper: PropTypes.node,
wrapper: PropTypes.any,
location: PropTypes.string,
basePath: PropTypes.string
};
Expand Down

0 comments on commit 612e6c0

Please sign in to comment.