braid-design-system
Version:
Themeable design system for the SEEK Group
17 lines (16 loc) • 490 B
JavaScript
;
const jsxRuntime = require("react/jsx-runtime");
const react = require("react");
const lib_components_Link_Link_cjs = require("./Link.cjs");
const Link = react.forwardRef(
({ href, onClick, ...restProps }, ref) => /* @__PURE__ */ jsxRuntime.jsx(
lib_components_Link_Link_cjs.Link,
{
ref,
href: href ?? "",
onClick: onClick ? onClick : (event) => event == null ? void 0 : event.preventDefault(),
...restProps
}
)
);
exports.Link = Link;