/** * Copyright (c) 2023-present Plane Software, Inc. and contributors * SPDX-License-Identifier: AGPL-3.0-only * See the LICENSE file for details. */ import React from "react"; // ui import { Button } from "@makeplane/propel/components/button"; import { CopyOutline } from "@makeplane/propel/icons"; // components import { TOAST_TYPE, setToast } from "@/providers/toast"; type Props = { label: string; url: string; description: string | React.ReactNode; }; export type TCopyField = { key: string; label: string; url: string; description: string | React.ReactNode; }; export function CopyField(props: Props) { const { label, url, description } = props; return (