import { TPlugin } from '@librechat/data-provider'; import { XCircle, DownloadCloud } from 'lucide-react'; type TPluginStoreItemProps = { plugin: TPlugin; onInstall: () => void; onUninstall: () => void; isInstalled?: boolean; }; function PluginStoreItem({ plugin, onInstall, onUninstall, isInstalled }: TPluginStoreItemProps) { const handleClick = () => { if (isInstalled) { onUninstall(); } else { onInstall(); } }; return ( <>