1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import React from "react";
6 import copy from 'copy-to-clipboard';
7 import { ListItemIcon, ListItemText, ListItem } from "@mui/material";
8 import { Link } from "components/icon/icon";
10 interface CopyToClipboardActionProps {
17 export const CopyToClipboardAction = (props: CopyToClipboardActionProps) => {
18 const copyToClipboard = () => {
29 ? <ListItem button onClick={copyToClipboard}>
34 {props.customText ? props.customText : "Copy link to clipboard"}