"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = exports.Text = void 0;

var _styledBase = _interopRequireDefault(require("@emotion/styled-base"));

var _Text = _interopRequireDefault(require("./Text.styles"));

var Text = (0, _styledBase["default"])("p", {
  target: "epkww9c0",
  label: "Text"
})(function (_ref) {
  var type = _ref.type,
      size = _ref.size;
  return type && size && _Text["default"].font[type][size];
}, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1RleHQvVGV4dC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBUzRCIiwiZmlsZSI6Ii4uLy4uLy4uL3NyYy9jb21wb25lbnRzL1RleHQvVGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCdcblxuaW1wb3J0IHN0eWxlcyBmcm9tICcuL1RleHQuc3R5bGVzJ1xuXG5leHBvcnQgaW50ZXJmYWNlIFByb3BzIHtcbiAgdHlwZT86IGtleW9mIHR5cGVvZiBzdHlsZXNbJ2ZvbnQnXVxuICBzaXplPzogJ3MnIHwgJ20nXG59XG5cbmNvbnN0IFRleHQgPSBzdHlsZWQucDxQcm9wcz5gXG4gICR7KHsgdHlwZSwgc2l6ZSB9KSA9PiB0eXBlICYmIHNpemUgJiYgc3R5bGVzLmZvbnRbdHlwZV1bc2l6ZV19XG5gXG5cblRleHQuZGVmYXVsdFByb3BzID0ge1xuICB0eXBlOiAncmVndWxhcicsXG4gIHNpemU6ICdzJyxcbn1cblxuZXhwb3J0IHsgVGV4dCB9XG5leHBvcnQgZGVmYXVsdCBUZXh0XG4iXX0= */");
exports.Text = Text;
Text.defaultProps = {
  type: 'regular',
  size: 's'
};
var _default = Text;
exports["default"] = _default;