mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-07-09 01:41:48 +08:00
25 lines
661 B
TypeScript
25 lines
661 B
TypeScript
import PluginItem from '../../plugin-item'
|
|
import { customTool, extensionDallE, modelGPT4, toolNotion } from '@/app/components/plugins/card/card-mock'
|
|
|
|
const PluginList = () => {
|
|
const pluginList = [toolNotion, extensionDallE, modelGPT4, customTool]
|
|
|
|
return (
|
|
<div className='pb-3 bg-white'>
|
|
<div>
|
|
<div className='grid grid-cols-2 gap-3'>
|
|
{pluginList.map((plugin, index) => (
|
|
<PluginItem
|
|
key={index}
|
|
payload={plugin as any}
|
|
onDelete={() => {}}
|
|
source={'debug'}
|
|
/>
|
|
))}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|
|
export default PluginList
|