wcz-layout
Version:
78 lines (77 loc) • 2.61 kB
JavaScript
import { c } from "react/compiler-runtime";
import { IconButton, ListItemButton } from "@mui/material";
import React from "react";
import { createLink } from "@tanstack/react-router";
import { jsx } from "react/jsx-runtime";
//#region src/components/router/RouterIconButton.tsx
const CreatedComponent$1 = createLink(React.forwardRef(function IconButtonComponent(props, reference) {
const $ = c(4);
if ($[0] !== "78225cdb1e7335044739e8f2aa569a8b6e8ddff45ee95d92920518aa6794a52d") {
for (let $i = 0; $i < 4; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
$[0] = "78225cdb1e7335044739e8f2aa569a8b6e8ddff45ee95d92920518aa6794a52d";
}
let t0;
if ($[1] !== props || $[2] !== reference) {
t0 = /* @__PURE__ */ jsx(IconButton, {
ref: reference,
component: "a",
...props
});
$[1] = props;
$[2] = reference;
$[3] = t0;
} else t0 = $[3];
return t0;
}));
const RouterIconButton = (props) => {
const $ = c(3);
if ($[0] !== "78225cdb1e7335044739e8f2aa569a8b6e8ddff45ee95d92920518aa6794a52d") {
for (let $i = 0; $i < 3; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
$[0] = "78225cdb1e7335044739e8f2aa569a8b6e8ddff45ee95d92920518aa6794a52d";
}
let t0;
if ($[1] !== props) {
t0 = /* @__PURE__ */ jsx(CreatedComponent$1, { ...props });
$[1] = props;
$[2] = t0;
} else t0 = $[2];
return t0;
};
//#endregion
//#region src/components/router/RouterListItemButton.tsx
const CreatedComponent = createLink(React.forwardRef(function ButtonComponent(props, reference) {
const $ = c(4);
if ($[0] !== "a33d2f291bddc17afd0afbb422e06a0a3bbcd9c360494d00918e68b54a100925") {
for (let $i = 0; $i < 4; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
$[0] = "a33d2f291bddc17afd0afbb422e06a0a3bbcd9c360494d00918e68b54a100925";
}
let t0;
if ($[1] !== props || $[2] !== reference) {
t0 = /* @__PURE__ */ jsx(ListItemButton, {
ref: reference,
component: "a",
...props
});
$[1] = props;
$[2] = reference;
$[3] = t0;
} else t0 = $[3];
return t0;
}));
const RouterListItemButton = (props) => {
const $ = c(3);
if ($[0] !== "a33d2f291bddc17afd0afbb422e06a0a3bbcd9c360494d00918e68b54a100925") {
for (let $i = 0; $i < 3; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
$[0] = "a33d2f291bddc17afd0afbb422e06a0a3bbcd9c360494d00918e68b54a100925";
}
let t0;
if ($[1] !== props) {
t0 = /* @__PURE__ */ jsx(CreatedComponent, { ...props });
$[1] = props;
$[2] = t0;
} else t0 = $[2];
return t0;
};
//#endregion
export { RouterIconButton as n, RouterListItemButton as t };
//# sourceMappingURL=RouterListItemButton-rcdkgOXQ.js.map