Skip to content

Commit 9ba78db

Browse files
committed
use PropTypes.any to avoid ReactNodeLike mismatch
1 parent 844d5e0 commit 9ba78db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/components/form/Button.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Button.propTypes = {
4343
className: PropTypes.string,
4444
role: PropTypes.string,
4545
label: PropTypes.string,
46-
children: PropTypes.node,
46+
children: PropTypes.any,
4747
};
4848

4949
Button.defaultProps = {

0 commit comments

Comments
 (0)