We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d9c022 commit 1461cd9Copy full SHA for 1461cd9
src/CIcon.js
@@ -12,15 +12,14 @@ const colog = (...args) => {
12
const toCamelCase = (str) => {
13
return str.replace(/([-_][a-z0-9])/ig, ($1) => {
14
return $1.toUpperCase()
15
- }).replaceAll('-', '')
+ }).replace(/-/ig, '')
16
}
17
18
//component - CoreUI / CIcon
19
const CIcon = props => {
20
21
const {
22
className,
23
- //
24
name,
25
content,
26
customClasses,
@@ -113,7 +112,6 @@ const CIcon = props => {
113
112
114
CIcon.propTypes = {
115
className: PropTypes.string,
116
117
name: PropTypes.string,
118
content: PropTypes.oneOfType([PropTypes.string, PropTypes.array]),
119
size: PropTypes.oneOf([
0 commit comments