You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
:: BASE_DOC ::
|
|
|
|
|
|
|
|
|
|
## API
|
|
|
|
|
### Rate Props
|
|
|
|
|
|
|
|
|
|
name | type | default | description | required
|
|
|
|
|
-- | -- | -- | -- | --
|
|
|
|
|
allow-half | Boolean | false | \- | N
|
|
|
|
|
color | String / Array | '#ED7B2F' | `0.30.0`。Typescript:`string \| Array<string>` | N
|
|
|
|
|
count | Number | 5 | \- | N
|
|
|
|
|
disabled | Boolean | - | \- | N
|
|
|
|
|
external-classes | Array | - | `['t-class', 't-class-icon', 't-class-text']` | N
|
|
|
|
|
gap | String / Number | 8 | \- | N
|
|
|
|
|
icon | String / Array | - | Typescript:`string \| string[]` | N
|
|
|
|
|
show-text | Boolean | false | \- | N
|
|
|
|
|
size | String | 24px | \- | N
|
|
|
|
|
texts | Array | [] | Typescript:`Array<string>` | N
|
|
|
|
|
value | Number | 0 | \- | N
|
|
|
|
|
default-value | Number | undefined | uncontrolled property | N
|
|
|
|
|
variant | String | outline | options:outline/filled | N
|
|
|
|
|
|
|
|
|
|
### Rate Events
|
|
|
|
|
|
|
|
|
|
name | params | description
|
|
|
|
|
-- | -- | --
|
|
|
|
|
change | `(value: number)` | \-
|