/* preview-render 布局 layout */
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { Layout } from "antd";
export default function previewRender(dom) {
  return ReactDOM.render(<Layout>
      <Layout.Header>Header</Layout.Header>
      <Layout>
        <Layout.Sider>Sider</Layout.Sider>
        <Layout.Content>Content</Layout.Content>
      </Layout>
      <Layout.Footer>Footer</Layout.Footer>
    </Layout>, dom);
};