Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 222d77d

Browse files
committedDec 19, 2024
fix(CBadge): change wrong as prop type
1 parent 6f2e811 commit 222d77d

File tree

1 file changed

+1
-1
lines changed
  • packages/coreui-react/src/components/badge

1 file changed

+1
-1
lines changed
 

‎packages/coreui-react/src/components/badge/CBadge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export const CBadge: PolymorphicRefForwardingComponent<'span', CBadgeProps> = fo
9696
)
9797

9898
CBadge.propTypes = {
99-
as: PropTypes.ElementType,
99+
as: PropTypes.elementType,
100100
children: PropTypes.node,
101101
className: PropTypes.string,
102102
color: colorPropType,

0 commit comments

Comments
 (0)
Please sign in to comment.