mirror of
https://github.com/upscayl/upscayl.git
synced 2025-02-17 11:18:36 +01:00
17 lines
276 B
TypeScript
17 lines
276 B
TypeScript
import * as React from 'react'
|
|
|
|
import { User } from '../interfaces'
|
|
|
|
type ListDetailProps = {
|
|
item: User
|
|
}
|
|
|
|
const ListDetail = ({ item: user }: ListDetailProps) => (
|
|
<div>
|
|
<h1>Detail for {user.name}</h1>
|
|
<p>ID: {user.id}</p>
|
|
</div>
|
|
)
|
|
|
|
export default ListDetail
|