Fix icons having an image role (#20600)
parent
87fbd08f74
commit
24b2c60beb
|
@ -14,7 +14,7 @@ export default class Icon extends React.PureComponent {
|
||||||
const { id, className, fixedWidth, ...other } = this.props;
|
const { id, className, fixedWidth, ...other } = this.props;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<i role='img' className={classNames('fa', `fa-${id}`, className, { 'fa-fw': fixedWidth })} {...other} />
|
<i className={classNames('fa', `fa-${id}`, className, { 'fa-fw': fixedWidth })} {...other} />
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Reference in New Issue