function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }

import React from 'react';
import Typography from './Typography';
import "./style/index.css";

var Text = function Text(props) {
  return /*#__PURE__*/React.createElement(Typography, _extends({
    renderType: "text"
  }, props));
};

var Title = function Title(props) {
  return /*#__PURE__*/React.createElement(Typography, _extends({
    renderType: "title"
  }, props));
};

var Link = function Link(props) {
  return /*#__PURE__*/React.createElement(Typography, _extends({
    renderType: "link"
  }, props));
};

var TypographyNamespace = Object.assign(Typography, {
  Text: Text,
  Title: Title,
  Link: Link
});
export default TypographyNamespace;
export { TypographyNamespace as Typography };