/* preview-render 折叠面板 Collapse */
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { Collapse } from "antd";
export default function previewRender(dom) {
  return ReactDOM.render(<Collapse defaultActiveKey={['1']} >
                <Collapse.Panel header="This is panel header 1" key="1">
                  <p>hello world</p>
                </Collapse.Panel>
                <Collapse.Panel header="This is panel header 2" key="2">
                  <p>hello world</p>
                </Collapse.Panel>
              </Collapse>, dom);
};