You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
393 B
16 lines
393 B
import React, { FC } from 'react'
|
|
import { Link } from 'react-router-dom'
|
|
import { App } from 'src/types'
|
|
|
|
interface Props {
|
|
app: App
|
|
}
|
|
|
|
const AppListItem: FC<Props> = ({ app }) => (
|
|
<div className="app-list-item">
|
|
<Link to={`/a/${app.id}`} className="title has-text-primary">{app.name}</Link>
|
|
{app.about && <p>{app.about}</p>}
|
|
</div>
|
|
)
|
|
|
|
export default AppListItem
|