mirror of
https://github.com/Alamantus/Lexiconga.git
synced 2025-03-26 13:20:43 +01:00
Allow PropType of array for RightColumn children
This commit is contained in:
parent
647ba8d114
commit
b6789b5826
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue