import {forwardRef} from "react";
import {LinkIcon} from "@nextui-org/shared-icons";
import {linkAnchorClasses} from "@nextui-org/theme";
import {useLink} from "@nextui-org/react";
const MyLink = forwardRef((props, ref) => {
const {
Component,
children,
showAnchorIcon,
anchorIcon = ,
getLinkProps,
} = useLink({
...props,
ref,
});
return (
<>
{children}
{showAnchorIcon && anchorIcon}
>
);
});
MyLink.displayName = "MyLink";
export default MyLink;