{SORT_OPTIONS.map((option) => {
const IconComponent = SORT_ICONS[option.value];
return (
onValueChange(option.value)}
className={`flex items-start gap-3 p-3 ${
value === option.value ? "bg-accent" : ""
}`}
>
{/* Ícone */}
{IconComponent && (
)}
{/* Conteúdo */}
{option.label}
{value === option.value && (
)}
{option.description && (
{option.description}
)}
);
})}