Skip to content

Commit 9bc3090

Browse files
committed
refactor(CPlaceholder): update prop types
1 parent a1be16b commit 9bc3090

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/coreui-react/src/components/placeholder/CPlaceholder.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ CPlaceholder.propTypes = {
103103
animation: PropTypes.oneOf(['glow', 'wave']),
104104
children: PropTypes.node,
105105
className: PropTypes.string,
106-
color: colorPropType.isRequired,
107-
component: PropTypes.string,
106+
color: colorPropType,
107+
component: PropTypes.elementType,
108108
size: PropTypes.oneOf(['xs', 'sm', 'lg']),
109109
}
110110

0 commit comments

Comments
 (0)