mirror of
https://github.com/misode/misode.github.io.git
synced 2026-05-03 06:02:54 +00:00
16 lines
427 B
TypeScript
16 lines
427 B
TypeScript
import type { Bugfix } from '../../services/DataFetcher.js'
|
|
import { Badge } from '../Badge.jsx'
|
|
import { Card } from '../Card.jsx'
|
|
|
|
interface Props {
|
|
fix: Bugfix
|
|
}
|
|
export function Issue({ fix }: Props) {
|
|
return <Card overlay={fix.id} link={`https://mojira.dev/${fix.id}`}>
|
|
<div class="changelog-content">{fix.summary}</div>
|
|
<div class="badges-list">
|
|
{fix.categories.map(c => <Badge label={c} />)}
|
|
</div>
|
|
</Card>
|
|
}
|