diff --git a/src/components/Datatable/components/ColumnsControls/ColumnsControls.tsx b/src/components/Datatable/components/ColumnsControls/ColumnsControls.tsx index 8f66598b7..e0cec77ad 100644 --- a/src/components/Datatable/components/ColumnsControls/ColumnsControls.tsx +++ b/src/components/Datatable/components/ColumnsControls/ColumnsControls.tsx @@ -105,7 +105,7 @@ const ColumnsControls: React.FC = ({ }; ColumnsControls.propTypes = { - children: PropTypes.oneOf(PropTypes.func, PropTypes.node).isRequired, + children: PropTypes.oneOf([PropTypes.func, PropTypes.node]).isRequired, onClose: PropTypes.func.isRequired, onApply: PropTypes.func.isRequired, isOpen: PropTypes.bool,