s-private API Documentation - v3.8.1
    Preparing search index...

    Type Alias RatingProps

    RatingProps: {
        maxRating?: number;
        rating: number;
        ref?: React.Ref<HTMLDivElement>;
    } & Omit<React.HTMLAttributes<HTMLDivElement>, "children"> & VariantProps<
        typeof ratingVariants,
    >

    Props for the Rating component.

    Type Declaration

    • OptionalmaxRating?: number

      Maximum rating value

    • rating: number

      Current rating value (1 to maxRating)

    • Optionalref?: React.Ref<HTMLDivElement>

      Forwarded ref

    Rating for the component