You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/web/app/(commonLayout)/plugins/test/card/test-client-plugin.tsx

22 lines
601 B
TypeScript

'use client'
import React from 'react'
import { useTranslation } from 'react-i18next'
import { useContext } from 'use-context-selector'
import { extensionDallE } from '@/app/components/plugins/card/card-mock'
import PluginItem from '@/app/components/plugins/plugin-item'
import I18n from '@/context/i18n'
const TestClientPlugin = () => {
const { locale } = useContext(I18n)
const { t } = useTranslation()
return (
<PluginItem
payload={extensionDallE as any}
onDelete={() => { }}
pluginI8n={t}
locale={locale}
/>
)
}
export default React.memo(TestClientPlugin)