Skip to content

Commit

Permalink
fix(ColumnsControl): fix incorrect syntax on PropTypes definition
Browse files Browse the repository at this point in the history
  • Loading branch information
mrthebunny committed Aug 30, 2023
1 parent 3828720 commit 578b55f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ const ColumnsControls: React.FC<ColumnsControlsProps> = ({
};

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,
Expand Down

0 comments on commit 578b55f

Please sign in to comment.