Merge branch 'feat/plugins' of github.com:langgenius/dify into feat/plugins

This commit is contained in:
Yi 2024-10-09 12:53:56 +08:00
commit d00b2724cc
3 changed files with 14 additions and 22 deletions

View File

@ -1,16 +1,9 @@
import Container from './Container'
import ListItem from '@/app/components/plugins/list-item-for-test'
const PluginList = async () => {
const mockList = ['Plugin 1', 'Plugin 2', 'Plugin 3']
return (
<>
<Container />
<div>
{mockList.map(item => (
<ListItem key={item} text={item} />
))}
</div>
</>
)
}

View File

@ -0,0 +1,14 @@
import Card from '@/app/components/plugins/card'
const PluginList = async () => {
return (
<>
<Card />
</>
)
}
export const metadata = {
title: 'Plugins - Card',
}
export default PluginList

View File

@ -1,15 +0,0 @@
import React from 'react'
type ListItemProps = {
text: string
}
const ListItem: React.FC<ListItemProps> = ({ text }) => {
return (
<div>
<p>{text}</p>
</div>
)
}
export default ListItem