fix undefined className
This commit is contained in:
parent
27ce538498
commit
b61fa5e1f2
@ -1548,12 +1548,14 @@ class FeatherIcon extends Component {
|
|||||||
|
|
||||||
FeatherIcon.propTypes = {
|
FeatherIcon.propTypes = {
|
||||||
icon: PropTypes.string.isRequired,
|
icon: PropTypes.string.isRequired,
|
||||||
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number])
|
size: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
||||||
|
className: PropTypes.string
|
||||||
}
|
}
|
||||||
|
|
||||||
FeatherIcon.defaultProps = {
|
FeatherIcon.defaultProps = {
|
||||||
color: 'currentColor',
|
color: 'currentColor',
|
||||||
size: 24
|
size: 24,
|
||||||
|
className: ''
|
||||||
}
|
}
|
||||||
|
|
||||||
export default FeatherIcon;
|
export default FeatherIcon;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user