Watch
0
0
Fork
You've already forked hyperhive
0

fixup! swarm-ui: shared Hint, ActionRow, Toolbar, EmptyState, ExternalLink and ExpandableCard replace per-page copies

This commit is contained in:
iris 2026-11-06 18:04:55 +01:00 • committed by mara
commit 53ccbcb4b3

View file

@ -5,23 +5,15 @@ import type { ComponentChildren } from "preact";
export function ExternalLink({
href,
title,
class: extraClass,
children,
}: {
href: string;
title?: string;
class?: string;
children: ComponentChildren;
}) {
return (
<a
href={href}
target="_blank"
rel="noopener noreferrer"
title={title}
class={extraClass}
>
<a href={href} target="_blank" rel="noopener noreferrer" class={extraClass}>
{children}
</a>
);