import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Component } from 'react';
export class Icon extends Component {
    render() {
        return _jsx("i", { className: "material-icons-round md-36", children: this.props.name });
    }
}
export class Link extends Component {
    render() {
        return (_jsxs("a", { rel: "noopener", target: "_blank", href: this.props.href, style: { display: 'flex' }, "aria-label": this.props.ariaLabel, children: [this.props.children, this.props.icon ? _jsx(Icon, { name: this.props.icon }) : undefined] }));
    }
}
//# sourceMappingURL=link.js.map