mirror of
https://git.um-react.app/um/um-react.git
synced 2026-11-27 23:56:59 +00:00
16 lines
354 B
TypeScript
16 lines
354 B
TypeScript
import { ExtLink } from './ExtLink';
|
|
|
|
export interface ProjectIssueProps {
|
|
id: number | string;
|
|
title?: string;
|
|
}
|
|
|
|
export function ProjectIssue({ id, title }: ProjectIssueProps) {
|
|
return (
|
|
<ExtLink target="_blank" href={`https://git.um-react.app/um/um-react/issues/${id}`}>
|
|
{`#${id}`}
|
|
{title && ` - ${title}`}
|
|
</ExtLink>
|
|
);
|
|
}
|