@payfit/unity-components
Version:
19 lines (18 loc) • 525 B
JavaScript
import { RawMenuItem as e } from "../../../../components/menu/parts/RawMenuItem.js";
import { jsx as t } from "react/jsx-runtime";
import { createLink as n } from "@tanstack/react-router";
//#region src/integrations/tanstack-router/components/menu-item/MenuItem.tsx
var r = n(e);
function i(n) {
if ("to" in n || "href" in n) return /* @__PURE__ */ t(r, { ...n });
{
let r = n;
return /* @__PURE__ */ t(e, {
...r,
children: r.children
});
}
}
i.displayName = "MenuItem";
//#endregion
export { i as MenuItem };