mirror of
https://git.um-react.app/um/um-react.git
synced 2025-11-28 03:23:02 +00:00
18 lines
366 B
TypeScript
18 lines
366 B
TypeScript
export interface ProjectIssueProps {
|
|
id: number | string;
|
|
title?: string;
|
|
}
|
|
|
|
export function ProjectIssue({ id, title }: ProjectIssueProps) {
|
|
return (
|
|
<a
|
|
rel="noopener noreferrer nofollow"
|
|
target="_blank"
|
|
href={`https://git.unlock-music.dev/um/um-react/issues/${id}`}
|
|
>
|
|
{`#${id}`}
|
|
{title && ` - ${title}`}
|
|
</a>
|
|
);
|
|
}
|