22 lines
527 B
JavaScript
Raw Normal View History

2022-06-27 23:38:19 +02:00
import './ButtonIcon.scss';
import React, { Component } from '../../../node_modules/react';
export default class ButtonIcon extends Component {
2022-06-27 23:38:19 +02:00
// constructor(props) {
// super(props);
// this.state = {};
// }
render() {
return <a rel="noopener noreferrer" href={this.props.lien} target="_blank"
aria-label="Profil {this.props.icon}">
<button class="button">
<span class="icon">
2022-07-17 11:20:35 +02:00
<i className={"ion-" + this.props.icon}></i>
2022-06-27 23:38:19 +02:00
</span>
</button>
</a>;
}
}