Skip to content

Commit

Permalink
fix(Collapse): add function and string to innerRef propType (#1129)
Browse files Browse the repository at this point in the history
  • Loading branch information
illiteratewriter authored and TheSharpieOne committed Jul 16, 2018
1 parent 36437a5 commit f380b41
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Collapse.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ const propTypes = {
className: PropTypes.node,
navbar: PropTypes.bool,
cssModule: PropTypes.object,
innerRef: PropTypes.object,
innerRef: PropTypes.oneOfType([
PropTypes.func,
PropTypes.string,
PropTypes.object
]),
};

const defaultProps = {
Expand Down

0 comments on commit f380b41

Please sign in to comment.