interface Props { value: number } // Compact 5-star rating. Filled stars use the gold accent; empties are faint. export function RatingStars({ value }: Props) { if (!value) return — return ( {[1, 2, 3, 4, 5].map((i) => ( ★ ))} ) }