import clsx from 'clsx';
import { AnchorHTMLAttributes, forwardRef, memo } from 'react';
import { FiExternalLink } from 'react-icons/fi';
interface Props extends AnchorHTMLAttributes {
external?: boolean;
}
const Anchor = forwardRef(
({ children, external = true, ...rest }, ref) => {
return (
<>
{children}
{external && }
>
);
},
);
Anchor.displayName = 'Anchor';
export default memo(Anchor);