mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02: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 = {
|
HideableComponent.propTypes = {
|
||||||
shouldHide: React.PropTypes.boolean
|
shouldHide: PropTypes.boolean
|
||||||
};
|
};
|
||||||
|
|
||||||
HideableComponent.defaultProps = {
|
HideableComponent.defaultProps = {
|
||||||
|
Loading…
Reference in New Issue
Block a user