Fixing a PropType
This commit is contained in:
parent
3f944ee936
commit
9cfe55cb0a
|
@ -26,7 +26,7 @@ class Item extends React.PureComponent {
|
||||||
displayWidth: PropTypes.number,
|
displayWidth: PropTypes.number,
|
||||||
visible: PropTypes.bool.isRequired,
|
visible: PropTypes.bool.isRequired,
|
||||||
autoplay: PropTypes.bool,
|
autoplay: PropTypes.bool,
|
||||||
noDescriptionTitle: PropTypes.object,
|
noDescriptionTitle: PropTypes.string,
|
||||||
};
|
};
|
||||||
|
|
||||||
static defaultProps = {
|
static defaultProps = {
|
||||||
|
|
Loading…
Reference in New Issue