import Radium from 'radium' import PropTypes from 'prop-types' import React, { Component } from 'react' import { fontInfo } from './style' class Text extends Component { static propTypes = { size: PropTypes.string, margin: PropTypes.number, children: PropTypes.node, tone: PropTypes.string, width: PropTypes.oneOfType([ PropTypes.string, PropTypes.number ]), align: PropTypes.string, } static defaultProps = { size: 'medium', tone: 'normal', margin: 0, align: 'left', } render() { const { margin, width, align } = this.props return ( {this.props.children} ) } } export default Radium(Text)