import type { AnchorHTMLAttributes, ReactNode } from 'react';
import { FiExternalLink } from 'react-icons/fi';
export type ExtLinkProps = AnchorHTMLAttributes & {
icon?: boolean | ReactNode;
};
export function ExtLink({ className, icon = true, children, ...props }: ExtLinkProps) {
return (
{children}
{icon === true ? : icon}
);
}