docs: type highlight (#4264)
This commit is contained in:
+12
-12
@@ -72,18 +72,18 @@ Use slot to add custom contents.
|
||||
|
||||
| Attribute | Description | Type | Default | Version |
|
||||
|------|------|------|------|------|
|
||||
| price | Price | `number` | - | - |
|
||||
| label | Price left label | `string` | `Total:` | - |
|
||||
| suffix-label | Price right label | `string` | - | - |
|
||||
| button-text | Button text | `string` | - | - |
|
||||
| button-type | Button type | `string` | `danger` | - |
|
||||
| tip | Tip | `string` | - | - |
|
||||
| tip-icon | Icon | `string` | - | - |
|
||||
| disabled | Whether to disable button | `boolean` | `false` | - |
|
||||
| loading | Whether to show loading icon | `boolean` | `false` | - |
|
||||
| currency | Currency symbol | `string` | `¥` | - |
|
||||
| decimal-length | number of digits to appear after the decimal point | `number` | `2` | - |
|
||||
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation, to enable those features use `viewport-fit=cover` in the `viewport` meta tag | `boolean` | `false` | - |
|
||||
| price | Price | *number* | - | - |
|
||||
| label | Price left label | *string* | `Total:` | - |
|
||||
| suffix-label | Price right label | *string* | - | - |
|
||||
| button-text | Button text | *string* | - | - |
|
||||
| button-type | Button type | *string* | `danger` | - |
|
||||
| tip | Tip | *string* | - | - |
|
||||
| tip-icon | Icon | *string* | - | - |
|
||||
| disabled | Whether to disable button | *boolean* | `false` | - |
|
||||
| loading | Whether to show loading icon | *boolean* | `false` | - |
|
||||
| currency | Currency symbol | *string* | `¥` | - |
|
||||
| decimal-length | number of digits to appear after the decimal point | *number* | `2` | - |
|
||||
| safe-area-inset-bottom | Whether to enable bottom safe area adaptation, to enable those features use `viewport-fit=cover` in the `viewport` meta tag | *boolean* | `false` | - |
|
||||
|
||||
### Events
|
||||
|
||||
|
||||
Reference in New Issue
Block a user