From 3c080c560cd030206fbfa060d6d5f09576d5fecc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=9A=E9=A3=8E=E4=BA=88=E6=98=9F?= <75473409+lxKylin@users.noreply.github.com> Date: Tue, 7 Jan 2025 22:11:50 +0800 Subject: [PATCH] docs: [button] add description (#19536) --- docs/en-US/component/button.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en-US/component/button.md b/docs/en-US/component/button.md index 5553432558..6f2fb8fef2 100644 --- a/docs/en-US/component/button.md +++ b/docs/en-US/component/button.md @@ -140,7 +140,7 @@ button/custom | Name | Description | Type | Default | | ----------------- | ----------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ------- | | size | button size | ^[enum]`'large' \| 'default' \| 'small'` | — | -| type | button type | ^[enum]`'primary' \| 'success' \| 'warning' \| 'danger' \| 'info' \| 'text' (deprecated)` | — | +| type | button type, when setting `color`, the latter prevails | ^[enum]`'primary' \| 'success' \| 'warning' \| 'danger' \| 'info' \| 'text' (deprecated)` | — | | plain | determine whether it's a plain button | ^[boolean] | false | | text ^(2.2.0) | determine whether it's a text button | ^[boolean] | false | | bg ^(2.2.0) | determine whether the text button background color is always on | ^[boolean] | false |