import { IconButton, Image, Stack, Text } from "@fluentui/react"; import React, { Dispatch, SetStateAction } from "react"; import Success from "../../../../images/successfulPopup.svg"; export const CopyPopup = ({ showCopyPopup, setShowCopyPopup, }: { showCopyPopup: boolean; setShowCopyPopup: Dispatch>; }): JSX.Element => { const closePopup = () => { setShowCopyPopup(false); }; return showCopyPopup ? ( Code copied successfully The query has been copied to the clipboard ) : ( <> ); };