mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Update docs to reflect prop-types change
This commit is contained in:
parent
fb1b513b7e
commit
d9d22a2895
@ -17,7 +17,7 @@ const HideableComponent = ({Component, ...props}) => (
|
||||
);
|
||||
|
||||
HideableComponent.propTypes = {
|
||||
shouldHide: React.PropTypes.boolean
|
||||
shouldHide: PropTypes.boolean
|
||||
};
|
||||
|
||||
HideableComponent.defaultProps = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user