import clsx from "clsx"; import React from "react"; export default function RatingBadge({ value, size = 4, starsCount = 5 }: { value: number; size?: number; starsCount?: number }) { return (
{Array.from({ length: starsCount }).map((_, index) => ( ))}
); } function Star({ color, size = 5 }: { color: "gray" | "yellow"; size?: number }) { return ( ); }