Initial commit 🚀
This commit is contained in:
commit
fd58a8d32f
235 files changed
+19775
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