MCPcopy
hub / github.com/untitleduico/react / RatingStarsProps

Interface RatingStarsProps

components/foundations/rating-stars.tsx:52–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50};
51
52interface RatingStarsProps extends HTMLAttributes<HTMLDivElement> {
53 /**
54 * The rating to display.
55 *
56 * @default 5
57 */
58 rating?: number;
59 /**
60 * The number of stars to display.
61 */
62 stars?: number;
63 /**
64 * The class name of the star icon.
65 */
66 starClassName?: string;
67}
68
69export const RatingStars = ({ rating = 5, stars = 5, starClassName, ...props }: RatingStarsProps) => {
70 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected