Browse Source
* 🔀 feat: rebase feature * 🔀 feat: rebase feature * 📝 feat: update doc * feat: clean up * ✨ feat: migrate less to token for Avatar * ✨ feat: migrate less to token for Tag * ✨ feat: migrate less to token for Tag * 🔀 feat: update * ✨ feat: update * ✨ feat: update * ✨ feat: update * ✨ feat: update snap * 🔀 feat: rebase feature * 🔀 feat: rebase feature * 📝 feat: update doc * ✨ feat: update * ✨ feat: update * ✨ feat: update * ✨ feat: update * ✨ feat: update * ✨ feat: update * ✨ feat: update * ✨ feat: update * ✨ feat: update * ✨ feat: update * ✨ feat: update * chore: code clean * chore: code clean * chore: more suiltable line-height * chore: fix lint --------- Co-authored-by: MadCcc <1075746765@qq.com>pull/42547/head
黑雨
2 years ago
committed by
GitHub
9 changed files with 375 additions and 36 deletions
@ -0,0 +1,7 @@ |
|||
## zh-CN |
|||
|
|||
Component Token Debug. |
|||
|
|||
## en-US |
|||
|
|||
Component Token Debug. |
@ -0,0 +1,35 @@ |
|||
import { CloseCircleOutlined, SyncOutlined } from '@ant-design/icons'; |
|||
import { ConfigProvider, Space, Tag } from 'antd'; |
|||
import React from 'react'; |
|||
|
|||
export default () => ( |
|||
<ConfigProvider |
|||
theme={{ |
|||
components: { |
|||
Tag: { |
|||
defaultBg: '#f9f0ff', |
|||
defaultColor: '#4b34d3', |
|||
}, |
|||
}, |
|||
}} |
|||
> |
|||
<Space size={[0, 8]} wrap> |
|||
<Tag> |
|||
<a href="https://github.com/ant-design/ant-design/issues/1862">Link</a> |
|||
</Tag> |
|||
<Tag closable color="magenta"> |
|||
Tag 2 |
|||
</Tag> |
|||
<Tag icon={<CloseCircleOutlined />} color="error"> |
|||
error |
|||
</Tag> |
|||
<Tag color="red-inverse">red</Tag> |
|||
<Tag bordered={false} color="magenta"> |
|||
magenta |
|||
</Tag> |
|||
<Tag icon={<SyncOutlined spin />} color="processing"> |
|||
processing |
|||
</Tag> |
|||
</Space> |
|||
</ConfigProvider> |
|||
); |
Loading…
Reference in new issue