mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
Merge pull request #8385 from open-sausages/pulls/4/proppa-pig
Update docs to reflect prop-types change
This commit is contained in:
commit
f1893adea9
@ -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