UNPKG

braid-design-system

Version:
17 lines (16 loc) 490 B
"use strict"; 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;