/** * 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 "@plane/propel/button"; import { CopyIcon } from "@plane/propel/icons"; import { TOAST_TYPE, setToast } from "@plane/propel/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 (