"use strict";

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

var _react = _interopRequireDefault(require("react"));

var _components = require("@patternplate/components");

var _tagHoc = _interopRequireDefault(require("tag-hoc"));

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

var _default = Text;
exports.default = _default;

function Text(props) {
  return _react.default.createElement(StyledText, {
    is: props.is,
    className: props.className
  }, props.children);
}

const StyledText = (0, _components.styled)((0, _tagHoc.default)(["size"])("div")).withConfig({
  displayName: "text__StyledText"
})(["font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\";"]);
//# sourceMappingURL=text.js.map