/* preview-render 列表 List */
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { List } from "antd";
export default function previewRender(dom) {
  return ReactDOM.render(<List
              size="small"
              header={<div>Header</div>}
              footer={<div>Footer</div>}
              bordered
              dataSource={[
  'Racing car sprays burning fuel into crowd.',
  'Japanese princess to wed commoner.',
  'Australian walks 100km after outback crash.',
  'Man charged over missing wedding girl.',
  'Los Angeles battles huge wildfires.',
]}
              renderItem={item => <List.Item>{item}</List.Item>}
              />, dom);
};