import '../style/addButton.less';

export default class AddButton extends React.Component {
	render() {
		const {
			onClick,
			label
		} = this.props;

		return (
			<div className='add-button-wrapper'>
				<span className='add-button' onClick={onClick}>
					<i className='icon-coms-Add-to-o' />
					<span className='add-button-label'>{label}</span>
				</span>
			</div>
		);
	}
}