pinkmine/frontend/src/misc-components/issue-href.tsx

14 lines
No EOL
263 B
TypeScript

import React from 'react';
export type Props = {
url: string;
id: number;
subject: string;
tracker: string;
};
export const IssueHref = (props: Props): JSX.Element => {
return (
<a href={props.url}>{props.tracker} #{props.id} - {props.subject}</a>
);
};