mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 07:56:28 +08:00
docs: update demo
This commit is contained in:
parent
24398cd3e5
commit
155c22efd4
@ -9,7 +9,12 @@
|
|||||||
````jsx
|
````jsx
|
||||||
import { Badge } from 'antd';
|
import { Badge } from 'antd';
|
||||||
|
|
||||||
ReactDOM.render(<Badge count={99} overflowCount={10}>
|
ReactDOM.render(<div>
|
||||||
|
<Badge count={99} overflowCount={10}>
|
||||||
<a href="#" className="head-example"></a>
|
<a href="#" className="head-example"></a>
|
||||||
</Badge>, document.getElementById('components-badge-demo-overflow'));
|
</Badge>
|
||||||
|
<Badge count={1000} overflowCount={999}>
|
||||||
|
<a href="#" className="head-example"></a>
|
||||||
|
</Badge>
|
||||||
|
</div>, document.getElementById('components-badge-demo-overflow'));
|
||||||
````
|
````
|
||||||
|
Loading…
Reference in New Issue
Block a user