@payfit/unity-components
Version:
18 lines (17 loc) • 529 B
JavaScript
import { RawTask as e } from "../../../../components/task-menu/parts/RawTask.js";
import { jsx as t } from "react/jsx-runtime";
import { createLink as n } from "@tanstack/react-router";
//#region src/integrations/tanstack-router/components/task-menu/Task.tsx
var r = n(e);
function i(n) {
if ("to" in n || "href" in n) {
let e = { "data-current": !0 };
return /* @__PURE__ */ t(r, {
...n,
activeProps: e
});
} else return /* @__PURE__ */ t(e, { ...n });
}
i.displayName = "Task";
//#endregion
export { i as Task };