import React, { Component } from 'react';
import PropTypes from 'prop-types';
import { Button } from 'antd';
import classNames from 'classnames/bind';
import styles from './style.mod.less';
const cx = classNames.bind(styles);

class Comp extends Component {
  render() {
    const { text } = this.props;

    return (
      <Button className={cx('btn')} type="primary">{text}</Button>
    );
  }
}

Comp.propTypes = {
};

export default Comp;
