Skip to content

Rater properties

Summary


Props table


Parameter
Type
Default
number
0
number
5
boolean
false
star|circle
'star'
boolean
false
(newValue: number) => void
() => {}


Props list



value

Type
Default
number
0


actual vote



max

Type
Default
number
5


max vote (max number of icons displayed)



readOnly

Type
Default
boolean
false


if true, the rate can't be changed by clicking on the icons



type

Type
Default
star|circle
'star'


vote icons type



vertical

Type
Default
boolean
false


if true, rate icons will be showed vertically



onChange

Type
Default
(newValue: number) => void
() => {}


callback triggered when user select a vote