import handleCopy from "@/components/handleCopy"; import { buttonVariants } from "@/components/ui/button"; import { Script } from "@/lib/types"; import { cn } from "@/lib/utils"; import { ClipboardIcon } from "lucide-react"; const CopyButton = ({ label, value, }: { label: string; value: string | number; }) => ( {value} handleCopy(label, String(value))} className="size-4 cursor-pointer" /> ); export default function InterFaces({ item }: { item: Script }) { return (
{item.interface_port !== null ? (

{"Default Interface:"}

{" "}
) : null}
); }