import React from 'react';
import ReactDOM from 'react-dom';
import SplitButton from '..';
const { Item } = SplitButton;
const menu = ['Undo', 'Redo', 'Cut', 'Copy', 'Paste'].map(item => (React.createElement(Item, { key: item }, item)));
ReactDOM.render(React.createElement("div", null,
    React.createElement(SplitButton, { label: "Edit Document", triggerProps: { 'aria-label': 'click to see more menu option' } }, menu)), document.getElementById('split-button-demo-5'));
