basic.md 1.09 KB
Newer Older
afc163's avatar
afc163 committed
1 2
---
order: 0
诸岳's avatar
诸岳 committed
3
title:
ddcat1115's avatar
ddcat1115 committed
4 5
  zh-CN: 演示
  en-US: demo
afc163's avatar
afc163 committed
6
iframe: 400
afc163's avatar
afc163 committed
7 8
---

ddcat1115's avatar
ddcat1115 committed
9
## zh-CN
诸岳's avatar
诸岳 committed
10

afc163's avatar
afc163 committed
11 12
浮动固定页脚。

诸岳's avatar
诸岳 committed
13 14 15 16
## en-US

Fixed to the footer.

afc163's avatar
afc163 committed
17 18
````jsx
import FooterToolbar from 'ant-design-pro/lib/FooterToolbar';
afc163's avatar
afc163 committed
19
import { Button } from 'antd';
afc163's avatar
afc163 committed
20 21

ReactDOM.render(
afc163's avatar
afc163 committed
22
  <div style={{ background: '#f7f7f7', padding: 24 }}>
诸岳's avatar
诸岳 committed
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
    <p>Content Content Content Content</p>
    <p>Content Content Content Content</p>
    <p>Content Content Content Content</p>
    <p>Content Content Content Content</p>
    <p>Content Content Content Content</p>
    <p>Content Content Content Content</p>
    <p>Content Content Content Content</p>
    <p>Content Content Content Content</p>
    <p>Content Content Content Content</p>
    <p>Content Content Content Content</p>
    <p>Content Content Content Content</p>
    <p>Content Content Content Content</p>
    <p>Content Content Content Content</p>
    <p>Content Content Content Content</p>
    <p>Content Content Content Content</p>
    <FooterToolbar extra="extra information">
      <Button>Cancel</Button>
      <Button type="primary">Submit</Button>
afc163's avatar
afc163 committed
41 42 43
    </FooterToolbar>
  </div>
, mountNode);
诸岳's avatar
诸岳 committed
44
````