Use fa-icons
This commit is contained in:
parent
84ab9f9cdc
commit
0a7f6b8e40
1 changed files with 2 additions and 3 deletions
|
|
@ -7,7 +7,6 @@ import { Button } from 'react-bootstrap';
|
||||||
import { translate } from 'react-i18next';
|
import { translate } from 'react-i18next';
|
||||||
|
|
||||||
import './CenterInMyPosition.scss';
|
import './CenterInMyPosition.scss';
|
||||||
import 'simple-line-icons/css/simple-line-icons.css';
|
|
||||||
|
|
||||||
class CenterInMyPosition extends React.Component {
|
class CenterInMyPosition extends React.Component {
|
||||||
onClick() {
|
onClick() {
|
||||||
|
|
@ -40,8 +39,8 @@ class CenterInMyPosition extends React.Component {
|
||||||
const { onlyIcon, t } = this.props;
|
const { onlyIcon, t } = this.props;
|
||||||
const msg = t('Centrar en tu ubicación');
|
const msg = t('Centrar en tu ubicación');
|
||||||
return (
|
return (
|
||||||
<Button bsStyle="default" onClick={() => this.onClick()}>
|
<Button bsStyle="default" title={msg} onClick={() => this.onClick()}>
|
||||||
<i className="icons icon-target" title={!onlyIcon ? msg : ''} />{!onlyIcon ? msg : ''}
|
<i className="fa fa-crosshairs" />{!onlyIcon ? msg : ''}
|
||||||
</Button>);
|
</Button>);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue