mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-28 19:50:34 +00:00
26 lines
598 B
JavaScript
26 lines
598 B
JavaScript
"use client";
|
|
"use client";
|
|
|
|
// src/components/link.tsx
|
|
import { cn } from "@stackframe/stack-ui";
|
|
import { jsx } from "react/jsx-runtime";
|
|
function Link(props) {
|
|
return /* @__PURE__ */ jsx(
|
|
"a",
|
|
{
|
|
href: props.href,
|
|
target: props.target,
|
|
className: props.className,
|
|
onClick: props.onClick,
|
|
children: props.children
|
|
}
|
|
);
|
|
}
|
|
function StyledLink(props) {
|
|
return /* @__PURE__ */ jsx(Link, { ...props, className: cn("underline font-medium", props.className), children: props.children });
|
|
}
|
|
export {
|
|
Link,
|
|
StyledLink
|
|
};
|
|
//# sourceMappingURL=link.js.map
|