ant-design/components/badge
Wuxh a70ef1b8da
fix(Badge): fix accidentally rendering an empty element when text props is empty (#37681)
* test(badge): add case

* fix(badge): fix accidentally rendering an empty element when text props is empty

* chore(badge): update demo

* test(badge): update snapshot

* docs: beautify docs

Add several supported ways to describe colors

* test(badge): update snapshot

* chore: update snapshot

* test: update snapshots

* Revert "test: update snapshots"

This reverts commit 2bd11650aea3b3a447a891f09708032f9c41cb3d.

* test: update snapshot
2022-09-24 23:15:22 +08:00
..
__tests__ fix(Badge): fix accidentally rendering an empty element when text props is empty (#37681) 2022-09-24 23:15:22 +08:00
demo fix(Badge): fix accidentally rendering an empty element when text props is empty (#37681) 2022-09-24 23:15:22 +08:00
style fix: not warpper animation for badge RTL (#34899) 2022-04-07 16:15:02 +08:00
index.en-US.md docs: fix badge english doc (#29531) 2021-02-28 09:09:48 +08:00
index.tsx fix(Badge): fix accidentally rendering an empty element when text props is empty (#37681) 2022-09-24 23:15:22 +08:00
index.zh-CN.md docs: sort api (#27251) 2020-10-21 10:33:43 +08:00
Ribbon.tsx chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
ScrollNumber.tsx chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
SingleNumber.tsx chore: prettier components (#36171) 2022-06-22 14:57:09 +08:00
utils.tsx feat: Badge.Ribbon (#25456) 2020-07-08 14:47:07 +08:00