import './demo3.css';
import Menu from '..';
import React from 'react';
import ReactDOM from 'react-dom';
const { SubMenu, Item } = Menu;
ReactDOM.render(React.createElement(Menu, { defaultOpenKeys: "1", className: "my-menu", openMode: "single" },
    React.createElement(SubMenu, { key: "0", label: "Sub menu 1" },
        React.createElement(Item, { key: "0-0" }, "Sub option 1"),
        React.createElement(Item, { key: "0-1" }, "Sub option 2"),
        React.createElement(Item, { key: "0-2" }, "Sub option 3")),
    React.createElement(SubMenu, { key: "1", label: "Sub menu 2" },
        React.createElement(Item, { key: "1-0" }, "Sub option 1"),
        React.createElement(Item, { key: "1-1" }, "Sub option 2"),
        React.createElement(Item, { key: "1-2" }, "Sub option 3")),
    React.createElement(SubMenu, { key: "2", label: "Sub menu 3" },
        React.createElement(Item, { key: "2-0" }, "Sub option 1"),
        React.createElement(Item, { key: "2-1" }, "Sub option 2"),
        React.createElement(Item, { key: "2-2" }, "Sub option 3")),
    React.createElement(SubMenu, { key: "3", label: "Sub menu 4" },
        React.createElement(Item, { key: "3-0" }, "Sub option 1"),
        React.createElement(Item, { key: "3-1" }, "Sub option 2"),
        React.createElement(Item, { key: "3-2" }, "Sub option 3"))), document.getElementById('menu-demo-3'));
