docs: add documentation of all typings (#9359)
This commit is contained in:
@@ -107,8 +107,8 @@ export default {
|
||||
| chosen-coupon | Index of chosen coupon | _number_ | `-1` |
|
||||
| coupons | Coupon list | _Coupon[]_ | `[]` |
|
||||
| disabled-coupons | Disabled coupon list | _Coupon[]_ | `[]` |
|
||||
| enabled-title | Title of coupon list | _string_ | `Available` | - |
|
||||
| disabled-title | Title of disabled coupon list | _string_ | `Unavailable` | - |
|
||||
| enabled-title | Title of coupon list | _string_ | `Available` |
|
||||
| disabled-title | Title of disabled coupon list | _string_ | `Unavailable` |
|
||||
| exchange-button-text | Exchange button text | _string_ | `Exchange` |
|
||||
| exchange-button-loading | Whether to show loading in exchange button | _boolean_ | `false` |
|
||||
| exchange-button-disabled | Whether to disable exchange button | _boolean_ | `false` |
|
||||
@@ -149,6 +149,8 @@ export default {
|
||||
| valueDesc | Value Text | _string_ |
|
||||
| unitDesc | Unit Text | _string_ |
|
||||
|
||||
## Theming
|
||||
|
||||
### CSS Variables
|
||||
|
||||
The component provides the following CSS variables, which can be used to customize styles. Please refer to [ConfigProvider component](#/en-US/config-provider).
|
||||
|
||||
@@ -151,6 +151,8 @@ export default {
|
||||
| valueDesc | 折扣券优惠金额文案 | _string_ |
|
||||
| unitDesc | 单位文案 | _string_ |
|
||||
|
||||
## 主题定制
|
||||
|
||||
### 样式变量
|
||||
|
||||
组件提供了下列 CSS 变量,可用于自定义样式,使用方法请参考 [ConfigProvider 组件](#/zh-CN/config-provider)。
|
||||
|
||||
Reference in New Issue
Block a user