import React from 'react';

require("./ToolbarButton.scss");

export default (props) => {
    return (
        <button className="ToolbarButton" onClick={ props.onClick } type={ props.type || "button" } disabled={ props.disabled }>
            <div className="ToolbarButtonIcon">{ props.children }</div>
            <div className="ToolbarButtonLabel">{ props.label }</div>
        </button>
    );
}
