'use client' import type { PluginDetail } from '../types' import { Dialog, DialogCloseButton, DialogContent, DialogTitle, } from '@langgenius/dify-ui/dialog' import { useTranslation } from 'react-i18next' import { ReadmePanelContent } from './content' type ReadmeDialogProps = { detail: PluginDetail open: boolean onOpenChange: (open: boolean) => void triggerId?: string } export function ReadmeDialog({ detail, open, onOpenChange, triggerId, }: ReadmeDialogProps) { const { t } = useTranslation() return ( {t('readmeInfo.title', { ns: 'plugin' })} )} closeButton={( )} /> ) }