var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
    return cooked;
};
import React from 'react';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import styled from '@monstrosity/utilities/themed-components';
var FontAwesomeWrapper = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n    top: 0;\n    width: ", ";\n    height: ", ";\n\tposition: relative;\n\n\t& svg {\n\t\twidth: ", " !important;\n\t\theight: ", " !important;\n\t\tposition: absolute;\n\t}\n"], ["\n    top: 0;\n    width: ", ";\n    height: ", ";\n\tposition: relative;\n\n\t& svg {\n\t\twidth: ", " !important;\n\t\theight: ", " !important;\n\t\tposition: absolute;\n\t}\n"])), function (_a) {
    var size = _a.size;
    return size || '2rem';
}, function (_a) {
    var size = _a.size;
    return size || '2rem';
}, function (_a) {
    var size = _a.size;
    return size || '2rem';
}, function (_a) {
    var size = _a.size;
    return size || '2rem';
});
export var FontAwesome = function (_a) {
    var size = _a.size, fas = _a.fas;
    return (React.createElement(FontAwesomeWrapper, { size: size },
        React.createElement(FontAwesomeIcon, { icon: [
                fas.prefix,
                fas.name,
            ] })));
};
var templateObject_1;
