Initial commit from Create Next App

This commit is contained in:
2021-10-12 21:17:12 +02:00
commit adc12fcae3
17 changed files with 2364 additions and 0 deletions

19
components/List.tsx Normal file
View File

@@ -0,0 +1,19 @@
import * as React from 'react'
import ListItem from './ListItem'
import { User } from '../interfaces'
type Props = {
items: User[]
}
const List = ({ items }: Props) => (
<ul>
{items.map((item) => (
<li key={item.id}>
<ListItem data={item} />
</li>
))}
</ul>
)
export default List