interface StarIconProps { filled: boolean; }; export default function StarIcon({ filled }: StarIconProps) { return <> {filled ? ( ) : ( )} > }