import classNames from 'classnames/bind';
import React, { Component } from 'react';
import styles from './Label.css';

class Label extends Component {
  render() {
    const cx = classNames.bind(styles);
    const { className, children } = this.props;
    return (
      <span className={cx('label', 'label-' + className)}>
        {children}
      </span>
    );
  }
}
export default Label;
