/* preview-render 固钉 affix */
import * as React from 'react';
import * as ReactDOM from 'react-dom';
import { Affix } from "antd";
export default function previewRender(dom) {
  return ReactDOM.render(<Affix offsetTop={120}>
    <div>120px to affix top</div>
  </Affix>, dom);
};