/* preview-render 级联选择 cascader */
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { Cascader } from "antd";
export default function previewRender(dom) {
  return ReactDOM.render(<Cascader options={[
  {
    value: 'zhejiang',
    label: 'Zhejiang',
    children: [
      {
        value: 'hangzhou',
        label: 'Hangzhou',
        children: [
          {
            value: 'xihu',
            label: 'West Lake',
          },
        ],
      },
    ],
  },
  {
    value: 'jiangsu',
    label: 'Jiangsu',
    children: [
      {
        value: 'nanjing',
        label: 'Nanjing',
        children: [
          {
            value: 'zhonghuamen',
            label: 'Zhong Hua Men',
          },
        ],
      },
    ],
  },
]} placeholder="Please select" />, dom);
};