import Markdown from "../../Common/Markdown" import React from "react" import { Image, Tooltip } from "antd" import { WebSearch } from "./WebSearch" import { CheckIcon, ClipboardIcon } from "lucide-react" type Props = { message: string hideCopy?: boolean botAvatar?: JSX.Element userAvatar?: JSX.Element isBot: boolean name: string images?: string[] currentMessageIndex: number totalMessages: number onRengerate: () => void isProcessing: boolean webSearch?: {} isSearchingInternet?: boolean sources?: any[] } export const PlaygroundMessage = (props: Props) => { const [isBtnPressed, setIsBtnPressed] = React.useState(false) return (