From 626b46b80cb97a9d13e32b5a9b17a448702fd032 Mon Sep 17 00:00:00 2001 From: thinkasany <480968828@qq.com> Date: Tue, 26 Nov 2024 12:08:56 +0800 Subject: [PATCH] docs: add loading icon description for Dropdown.Button (#51783) --- components/dropdown/index.en-US.md | 2 +- components/dropdown/index.zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/dropdown/index.en-US.md b/components/dropdown/index.en-US.md index ec8cf0467c..f813f73743 100644 --- a/components/dropdown/index.en-US.md +++ b/components/dropdown/index.en-US.md @@ -66,7 +66,7 @@ Same props from Dropdown. And includes additional props: | Property | Description | Type | Default | Version | | --- | --- | --- | --- | --- | | buttonsRender | Custom buttons inside Dropdown.Button | (buttons: ReactNode\[]) => ReactNode\[] | - | | -| loading | Set the loading status of button | boolean \| { delay: number } | false | | +| loading | Set the loading status of button, the same as [Button](/components/button/#api) | boolean \| { delay: number, icon: ReactNode } | false | icon: 5.23.0 | | danger | Set the danger status of button | boolean | - | 4.23.0 | | icon | Icon (appears on the right) | ReactNode | - | | | size | Size of the button, the same as [Button](/components/button/#api) | string | `default` | | diff --git a/components/dropdown/index.zh-CN.md b/components/dropdown/index.zh-CN.md index d198bb0380..04d8e025a6 100644 --- a/components/dropdown/index.zh-CN.md +++ b/components/dropdown/index.zh-CN.md @@ -70,7 +70,7 @@ demo: | 参数 | 说明 | 类型 | 默认值 | 版本 | | --- | --- | --- | --- | --- | | buttonsRender | 自定义左右两个按钮 | (buttons: ReactNode\[]) => ReactNode\[] | - | | -| loading | 设置按钮载入状态 | boolean \| { delay: number } | false | | +| loading | 设置按钮载入状态,和 [Button](/components/button-cn#api) 一致 | boolean \| { delay: number, icon: ReactNode } | false | icon: 5.23.0 | | danger | 设置危险按钮 | boolean | - | 4.23.0 | | icon | 右侧的 icon | ReactNode | - | | | size | 按钮大小,和 [Button](/components/button-cn#api) 一致 | string | `default` | |