Skip to content

Commit

Permalink
use PropTypes.any to avoid ReactNodeLike mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugisha146 committed Dec 6, 2024
1 parent 844d5e0 commit 9ba78db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/form/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Button.propTypes = {
className: PropTypes.string,
role: PropTypes.string,
label: PropTypes.string,
children: PropTypes.node,
children: PropTypes.any,
};

Button.defaultProps = {
Expand Down

0 comments on commit 9ba78db

Please sign in to comment.