Migrate to font-awesome 5.0. (#8799)
This commit is contained in:
committed by
Eugen Rochko
parent
15fc2b76f9
commit
8bae14591b
@ -86,7 +86,7 @@ export default class IconButton extends React.PureComponent {
|
||||
style={style}
|
||||
tabIndex={tabIndex}
|
||||
>
|
||||
<i className={`fa fa-fw fa-${icon}`} aria-hidden='true' />
|
||||
<i className={`fas fa-fw fa-${icon}`} aria-hidden='true' />
|
||||
</button>
|
||||
);
|
||||
}
|
||||
@ -104,7 +104,7 @@ export default class IconButton extends React.PureComponent {
|
||||
style={style}
|
||||
tabIndex={tabIndex}
|
||||
>
|
||||
<i style={{ transform: `rotate(${rotate}deg)` }} className={`fa fa-fw fa-${icon}`} aria-hidden='true' />
|
||||
<i style={{ transform: `rotate(${rotate}deg)` }} className={`fas fa-fw fa-${icon}`} aria-hidden='true' />
|
||||
</button>
|
||||
)}
|
||||
</Motion>
|
||||
|
Reference in New Issue
Block a user