mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-11-30 11:08:45 +08:00
chore: 迁移 badge iconfont
This commit is contained in:
parent
64aa7b0acb
commit
7f701cc2b7
@ -8,10 +8,11 @@
|
||||
|
||||
````jsx
|
||||
var Badge = antd.Badge;
|
||||
var Icon = antd.Icon;
|
||||
|
||||
React.render(<div>
|
||||
<Badge dot={true}>
|
||||
<i className="anticon anticon-notification"></i>
|
||||
<Icon type="notification" />
|
||||
</Badge>
|
||||
<Badge dot={true}>
|
||||
<a href="#">一个链接</a>
|
||||
|
Loading…
Reference in New Issue
Block a user