Skip to content

Commit b0ce494

Browse files
committed
fix(CIconRaw): Invalid argument supplied to oneOfType
1 parent 3c7e31f commit b0ce494

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CIconRaw.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@ CIconRaw.propTypes = {
125125
className: PropTypes.string,
126126
//
127127
name: PropTypes.string,
128-
content: PropTypes.oneOfType([String, Array]),
128+
content: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
129129
size: PropTypes.oneOf(['custom', 'custom-size', 'sm', 'lg', 'xl',
130130
'2xl', '3xl', '4xl', '5xl', '6xl', '7xl', '8xl', '9xl']),
131-
customClasses: PropTypes.oneOfType([String, Array, Object]),
131+
customClasses: PropTypes.oneOfType([PropTypes.string, PropTypes.array, PropTypes.object]),
132132
src: PropTypes.string,
133133
title: PropTypes.string,
134134
use: PropTypes.string

0 commit comments

Comments
 (0)