import { Button, buttonVariants } from "@/components/ui/button"; import handleCopy from "@/components/handleCopy"; import { cn } from "@/lib/utils"; import { ClipboardIcon } from "lucide-react"; import { Script } from "@/lib/types"; 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}
); }