next
This commit is contained in:
1 parent
b244287f6a
commit
5a2d49c17f
77 files changed
+2289
-31
No files matched your search
@@ -0,0 +1,15 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user