import React from 'react';
import ReactDOM from 'react-dom';
import SplitButton from '..';
const { Item, Group, Divider } = SplitButton;
ReactDOM.render(React.createElement(SplitButton, { label: "Edit Document", onItemClick: key => console.log(key) },
    React.createElement(Item, null, "Undo"),
    React.createElement(Item, null, "Redo"),
    React.createElement(Divider, null),
    React.createElement(Group, null,
        React.createElement(Item, { helper: "CTRL + X" }, "Cut"),
        React.createElement(Item, { helper: "CTRL + C" }, "Copy"),
        React.createElement(Item, { helper: "CTRL + V" }, "Paste"))), document.getElementById('split-button-demo-4'));
