import * as React from 'react';

interface Props {
    data: any,
    onClick: any,
}
export class ToolbarItem extends React.Component<Props> {

    public render() {
        return (
            <li onClick={this.props.onClick}><i className={this.props.data.icon}></i>{this.props.data.name}</li>
        )
    }
}
export default ToolbarItem;