'use client'; import { ReactNode } from 'react'; import { useIcon } from '../../internal/hooks/useIcon'; import { cn, pressable, text } from '../../styles/theme'; export type WalletDropdownLinkProps = { children: string; /** Optional className override for the element */ className?: string; href: string; icon?: 'wallet' | ReactNode; rel?: string; target?: string; }; export function WalletDropdownLink({ children, className, icon, href, rel, target, }: WalletDropdownLinkProps) { const iconSvg = useIcon({ icon }); return (
{iconSvg}
{children}
); }