From 578b55f738d854d9ea17fed450c7d55ecd4759ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20LeBlanc?= Date: Wed, 30 Aug 2023 09:10:14 -0400 Subject: [PATCH] fix(ColumnsControl): fix incorrect syntax on PropTypes definition --- .../Datatable/components/ColumnsControls/ColumnsControls.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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,