Allow PropType of array for RightColumn children
This commit is contained in:
parent
647ba8d114
commit
b6789b5826
|
@ -4,7 +4,7 @@ import PropTypes from 'prop-types';
|
|||
export const RightColumn = (props) => {
|
||||
PropTypes.checkPropTypes({
|
||||
formIsDisplayed: PropTypes.bool.isRequired,
|
||||
children: PropTypes.object,
|
||||
children: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),
|
||||
}, props, 'prop', 'RightColumn');
|
||||
|
||||
const { formIsDisplayed } = props;
|
||||
|
|
Loading…
Reference in New Issue