'use client' import type { PluginDetail } from '../types' import { Drawer, DrawerBackdrop, DrawerCloseButton, DrawerContent, DrawerPopup, DrawerPortal, DrawerTitle, DrawerViewport, } from '@langgenius/dify-ui/drawer' import { useTranslation } from 'react-i18next' import { ReadmePanelContent } from './content' type ReadmeDrawerProps = { detail: PluginDetail open: boolean onOpenChange: (open: boolean) => void triggerId?: string } export function ReadmeDrawer({ detail, open, onOpenChange, triggerId, }: ReadmeDrawerProps) { const { t } = useTranslation() return ( {t('readmeInfo.title', { ns: 'plugin' })} )} closeButton={( )} /> ) }