Rate
Install
Usage
Basic Usage
Custom Icon
Custom Color
Custom Count
Disabled
Read Only
Custom Gutter
Listen On Change
API
Props
Attribute
Description
Type
Default
Required
currentRate
Current rate
number
-
optional
text
Count
number
-
optional
size
Icon size
string
-
optional
icon
Selected icon
string
-
optional
gutter
Icon gutter
string
-
optional
voidIcon
Void icon
string
-
optional
*allowHalf
Whether to allow half star
boolean
false
optional
readonly
Whether to be readonly
boolean
false
optional
*touchable
Whether to allow select rate by touch gesture
boolean
true
optional
disabled
Whether to disable rate
boolean
false
optional
color
Selected color
string
-
optional
voidColor
Void color
string
-
optional
disabledColor
Disabled color
string
-
optional
Event
Event
Description
Parameters
change
Triggered when rate changed
current rate
Last updated