2023-09-05 01:20:02 +00:00
|
|
|
import { Link } from '@chakra-ui/react';
|
|
|
|
|
2023-09-05 00:34:42 +00:00
|
|
|
export interface ProjectIssueProps {
|
|
|
|
id: number | string;
|
|
|
|
title?: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export function ProjectIssue({ id, title }: ProjectIssueProps) {
|
|
|
|
return (
|
2023-09-05 01:20:02 +00:00
|
|
|
<Link isExternal target="_blank" href={`https://git.unlock-music.dev/um/um-react/issues/${id}`}>
|
2023-09-05 00:34:42 +00:00
|
|
|
{`#${id}`}
|
|
|
|
{title && ` - ${title}`}
|
2023-09-05 01:20:02 +00:00
|
|
|
</Link>
|
2023-09-05 00:34:42 +00:00
|
|
|
);
|
|
|
|
}
|