chore: add test page

pull/9529/head
Joel 1 year ago
parent 58a913b09d
commit 7a43f48c95

@ -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>
</>
)
}

@ -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

@ -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
Loading…
Cancel
Save