mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-15 17:19:11 +08:00
753c01ae18
fix antd.notification
251 B
251 B
基本
- order: 0
最简单的用法。
import { Affix, Button } from 'antd';
ReactDOM.render(
<Affix>
<Button type="primary">固定在顶部</Button>
</Affix>
, document.getElementById('components-affix-demo-basic'));