import Link from "next/link"; import { ArrowRight, ExternalLink, type LucideIcon } from "lucide-react"; import React, { createElement } from "react"; import { Button } from "./ui/button"; import { cn } from "@/lib/utils"; export default function LinkButton({ text, linkData, variant = "default", radius = "sm", size = "default", extraIcon, showIcon = true, className, onPress, ...props }: { text: string; linkData: { href: string; target: string } | null; variant?: | "ghost" | "default" | "secondary" | "link" | "destructive" | "outline"; size?: "default" | "sm" | "lg" | "icon"; extraIcon?: LucideIcon; showIcon?: boolean; className?: string; onPress?: () => void; [key: string]: any; }) { const isExternal = linkData?.href?.startsWith("http"); return ( ); }