eigent/package/@stackframe/react/dist/esm/components/link.js
2025-08-12 01:16:39 +02:00

26 lines
No EOL
597 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