21 lines
534 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() {
2022-11-18 20:53:58 +01:00
return <a rel="noopener noreferrer me" href={this.props.lien} target="_blank">
<button className="button" aria-label="Bouton {this.props.aria-label}">
2022-06-27 23:38:19 +02:00
<span class="icon">
2022-11-17 20:19:21 +00:00
<ion-icon name={this.props.icon}></ion-icon>
2022-06-27 23:38:19 +02:00
</span>
</button>
</a>;
}
}