import { CustomLink } from "@/components/shadcn/custom/custom-link";

interface AuthFooterLinkProps {
  text: string;
  linkText: string;
  href: string;
}

export const AuthFooterLink = ({
  text,
  linkText,
  href,
}: AuthFooterLinkProps) => {
  return (
    <p className="text-center text-sm">
      {text}&nbsp;
      <CustomLink size="md" href={href} target="_self">
        {linkText}
      </CustomLink>
    </p>
  );
};
