Merge pull request #8385 from open-sausages/pulls/4/proppa-pig

Update docs to reflect prop-types change
This commit is contained in:
Luke Edwards 2018-09-19 13:14:15 +12:00 committed by GitHub
commit f1893adea9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ const HideableComponent = ({Component, ...props}) => (
);
HideableComponent.propTypes = {
shouldHide: React.PropTypes.boolean
shouldHide: PropTypes.boolean
};
HideableComponent.defaultProps = {