Skip to content

Commit

Permalink
Merge pull request #814 from securityscorecard/fix-columns-control-pr…
Browse files Browse the repository at this point in the history
…optypes

fix(ColumnsControl): fix incorrect syntax on PropTypes definition
  • Loading branch information
mrthebunny authored Aug 30, 2023
2 parents 3828720 + 578b55f commit ba5c477
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 ba5c477

Please sign in to comment.