ant-design/components/button/__tests__
George H 14f8279aea
feat: Support iconPosition with button icon (#47791)
* feat: button support iconPosition

* fix: iconPosition compatible LoadingIcon

* docs(Button): update Button with iconPosition demo

* fix: delete debug type

* fix: iconPosition for InnerLoadingIcon with not existIcon

* chore: update button snapshots

* fix: fixed loading-icon-end style

* chore: refactor buttonContent with genButtonContent

* fix: iconPosition compatible with rtl

* docs(Button): update button with iconPosition demo

* chore: update test

* fix: iconPosition compatible with rtl

* docs(Buttob): add icon-position demo

* restore icon demo

* update snapshots

* docs: update icon button demo

* docs: update iconPosition button demo

* Update components/button/index.zh-CN.md

Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: George H <default_hyn@163.com>

* Update components/button/index.zh-CN.md

Co-authored-by: kiner-tang <1127031143@qq.com>
Signed-off-by: George H <default_hyn@163.com>

* Update components/button/demo/icon-position.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: George H <default_hyn@163.com>

* Update components/button/index.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: George H <default_hyn@163.com>

* Update components/button/index.en-US.md

Co-authored-by: afc163 <afc163@gmail.com>
Signed-off-by: George H <default_hyn@163.com>

---------

Signed-off-by: George H <default_hyn@163.com>
Co-authored-by: kiner-tang <1127031143@qq.com>
Co-authored-by: afc163 <afc163@gmail.com>
2024-04-07 22:42:20 +08:00
..
__snapshots__ feat: Support iconPosition with button icon (#47791) 2024-04-07 22:42:20 +08:00
delay-timer.test.tsx Revert "chore: migrate to vitest (#42506)" (#42900) 2023-06-07 21:59:21 +08:00
demo-extend.test.ts fix: Button padding token should follow contentFontSize (#46901) 2024-01-11 11:18:21 +08:00
demo.test.ts fix: Button padding token should follow contentFontSize (#46901) 2024-01-11 11:18:21 +08:00
image.test.ts docs: v5 site upgrade (#38328) 2022-11-09 12:28:04 +08:00
index.test.tsx fix: Compatible with v4 logic (#47612) 2024-02-27 19:11:46 +08:00
wave.test.tsx fix: Checkbox & Radio not support customize wave (#44014) 2023-08-04 11:22:33 +08:00