"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});

var _react = require("react");

var _react2 = _interopRequireDefault(_react);

require("../src/icons/fontawesome.css");

require("../src/icons/solid.css");

require("../src/icons/regular.css");

require("../src/icons/brands.css");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

var AwIcon = function AwIcon(props) {
  var iconName = props.iconName,
      className = props.className,
      style = props.style,
      onClick = props.onClick;


  var defaultStyle = {
    color: "#000000",
    fontSize: "12px",
    padding: "6px"
  };

  var divStyle = Object.assign(defaultStyle, style);

  return _react2.default.createElement(
    "div",
    {
      style: divStyle,
      className: className,
      onClick: onClick
    },
    _react2.default.createElement("i", { className: "fas fa-" + iconName })
  );
};

exports.default = AwIcon;