Skip to content

Commit

Permalink
Merge pull request storybookjs#1245 from adamdonahue/prop-fix
Browse files Browse the repository at this point in the history
Fix (?) PropType for node.type.
  • Loading branch information
ndelangen authored Jun 9, 2017
2 parents 7305ff6 + 010544b commit 1ee4402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/info/src/components/Props.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ Props.defaultProps = {
Props.propTypes = {
node: PropTypes.shape({
props: PropTypes.object,
type: PropTypes.object.isRequired,
type: PropTypes.node.isRequired,
}).isRequired,
singleLine: PropTypes.bool,
maxPropsIntoLine: PropTypes.number.isRequired,
Expand Down

0 comments on commit 1ee4402

Please sign in to comment.