Update docs to reflect prop-types change

This commit is contained in:
Luke Edwards 2018-09-19 10:05:49 +12:00
parent fb1b513b7e
commit d9d22a2895

View File

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