{children}
{subtitle || badge ? (
{subtitle ? (
{subtitle}
) : null}
{typeof badge === "string" ? (
{badge}
) : (
badge
)}
) : null}
>
);
}
export function ListLink({
children,
to,
onClick,
isActive,
imageUrl,
overlayIconUrl,
user,
subtitle,
badge,
badgeVariant,
}: {
children: React.ReactNode;
to: string;
onClick?: (event: React.MouseEvent