basic.md 741 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
import { Icon } from 'antd';

const links = [{
14
  key: '帮助',
15 16 17
  title: '帮助',
  href: '',
}, {
18
  key: 'github',
19 20 21
  title: <Icon type="github" />,
  href: 'https://github.com/ant-design/ant-design-pro',
  blankTarget: true,
22
}, {
23
  key: '条款',
24 25 26 27 28 29 30 31
  title: '条款',
  href: '',
  blankTarget: true,
}];

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

ReactDOM.render(
afc163's avatar
afc163 committed
32
  <div style={{ background: '#f5f5f5', overflow: 'hidden' }}>
afc163's avatar
afc163 committed
33
    <div style={{ height: 280 }} />
afc163's avatar
afc163 committed
34 35
    <GlobalFooter links={links} copyright={copyright} />
  </div>
36 37
, mountNode);
````