mirror of
https://github.com/Alamantus/Lexiconga.git
synced 2025-06-04 00:06:39 +02: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) => {
|
export const RightColumn = (props) => {
|
||||||
PropTypes.checkPropTypes({
|
PropTypes.checkPropTypes({
|
||||||
formIsDisplayed: PropTypes.bool.isRequired,
|
formIsDisplayed: PropTypes.bool.isRequired,
|
||||||
children: PropTypes.object,
|
children: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),
|
||||||
}, props, 'prop', 'RightColumn');
|
}, props, 'prop', 'RightColumn');
|
||||||
|
|
||||||
const { formIsDisplayed } = props;
|
const { formIsDisplayed } = props;
|
||||||
|
|
Loading…
Add table
Reference in a new issue