Skip to main content

Rate

Function Rate 

Source
pub fn Rate(props: RateProps) -> Element
Expand description

Rate component for star ratings

§Example

rsx! {
    Rate {
        model_value: 3.5,
        allow_half: true,
        max: 5,
        on_change: move |v| println!("Rating: {}", v),
    }
}