Skip to content

Commit

Permalink
fix(CBadge): change wrong as prop type
Browse files Browse the repository at this point in the history
  • Loading branch information
mrholek committed Dec 19, 2024
1 parent 6f2e811 commit 222d77d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/coreui-react/src/components/badge/CBadge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ export const CBadge: PolymorphicRefForwardingComponent<'span', CBadgeProps> = fo
)

CBadge.propTypes = {
as: PropTypes.ElementType,
as: PropTypes.elementType,
children: PropTypes.node,
className: PropTypes.string,
color: colorPropType,
Expand Down

0 comments on commit 222d77d

Please sign in to comment.