/* preview-render 下拉 dropdown */
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { Dropdown,Menu } from "antd";
export default function previewRender(dom) {
  return ReactDOM.render(<Dropdown overlay={<Menu>
    <Menu.Item>
      <a>
        1st Menu item
      </a>
    </Menu.Item>
    <Menu.Item>
      <a>
        2nd Menu item
      </a>
    </Menu.Item>
    <Menu.Item>
      <a>
        3rd Menu item
      </a>
    </Menu.Item>
  </Menu>}>
    <a>
      Hover me
    </a>
  </Dropdown>, dom);
};