basic.md 575 Bytes
Newer Older
1 2
---
order: 0
afc163's avatar
afc163 committed
3
title: 演示
afc163's avatar
afc163 committed
4
iframe: 400
5 6 7 8 9
---

基本页脚。

````jsx
nikogu's avatar
nikogu committed
10
import GlobalFooter from 'ant-design-pro/lib/GlobalFooter';
11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
import { Icon } from 'antd';

const links = [{
  title: '帮助',
  href: '',
}, {
  title: '隐私',
  href: '',
}, {
  title: '条款',
  href: '',
  blankTarget: true,
}];

const copyright = <div>Copyright <Icon type="copyright" /> 2017 蚂蚁金服体验技术部出品</div>;

ReactDOM.render(
afc163's avatar
afc163 committed
28 29 30
  <div style={{ background: '#f5f5f5', overflow: 'hidden' }}>
    <GlobalFooter links={links} copyright={copyright} />
  </div>
31 32
, mountNode);
````