mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-28 11:08:30 +08:00
306 B
306 B
order | title | ||||
---|---|---|---|---|---|
2 |
|
zh-CN
固定在屏幕下方。
en-US
Affix to bottom.
import { Affix, Button } from 'antd';
ReactDOM.render(
<Affix offsetBottom={20}>
<Button type="primary">20px to affix bottom</Button>
</Affix>
, mountNode);