2020-12-11 00:48:12 +01:00
|
|
|
import React, {Component} from '../../../node_modules/react';
|
|
|
|
import './ButtonIcon.scss'
|
|
|
|
|
|
|
|
export default class ButtonIcon extends Component {
|
|
|
|
// constructor(props) {
|
|
|
|
// super(props);
|
|
|
|
// this.state = {};
|
|
|
|
// }
|
|
|
|
render() {
|
2021-09-30 00:15:56 +02:00
|
|
|
return <a class="button" rel="noopener" href={this.props.lien} target="_blank"
|
2020-12-11 00:48:12 +01:00
|
|
|
aria-label="Profil {this.props.icon}">
|
|
|
|
<span class="icon is-large">
|
2021-07-07 10:41:52 +02:00
|
|
|
<ion-icon name={this.props.icon}></ion-icon>
|
2020-12-11 00:48:12 +01:00
|
|
|
</span>
|
|
|
|
</a>;
|
|
|
|
}
|
|
|
|
}
|