Files
2026-10-09 14:00:40 +02:00

16 lines
348 B
TypeScript

import type { ReactNode } from 'react';
export interface TextLinkProps {
href: string;
children?: ReactNode;
}
/** An underlined link. There is no accent colour; the underline carries the signal. */
export function TextLink({ href, children }: TextLinkProps) {
return (
<a className="link" href={href}>
{children}
</a>
);
}