import * as React from 'react'
import * as cx from 'classnames'
import { TextProps } from '../interfaces'

const styles = require('../../src/styles/components/text.scss')

export class Text extends React.Component<TextProps, {}> {
    public render() {
        return (
            <span className={this.classNames()}>{this.props.children}</span>
        )
    }

    protected classNames() {
        return cx(this.props.className)
    }
}
