Skip to content

Commit bb3f90d

Browse files
committed
use PropTypes.any to avoid ReactNodeLike mismatch
1 parent 04c9e3f commit bb3f90d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/form/Button.tsx

Lines changed: 1 addition & 1 deletion
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)