From bb3f90d05e1e275bdab75c330fcb275cf9092fb0 Mon Sep 17 00:00:00 2001 From: Mugisha146 Date: Fri, 6 Dec 2024 13:55:11 +0200 Subject: [PATCH] use PropTypes.any to avoid ReactNodeLike mismatch --- src/components/form/Button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/form/Button.tsx b/src/components/form/Button.tsx index 55a0b0bb..d503f6b1 100644 --- a/src/components/form/Button.tsx +++ b/src/components/form/Button.tsx @@ -43,7 +43,7 @@ Button.propTypes = { className: PropTypes.string, role: PropTypes.string, label: PropTypes.string, - children: PropTypes.node, + children: PropTypes.any, }; Button.defaultProps = {