import React, { Component } from 'react'
import './index.scss'
import { Icon } from 'antd'
export default class ButtonAdd extends Component {
  render () {
    return (
      <div className="btn-add" onClick={this.props.onClick}>
        <Icon type="plus-circle" theme="twoTone" />
        <span className="btn-text">{this.props.text}</span>
      </div>
    )
  }
}
