UNPKG

wcz-layout

Version:

62 lines (61 loc) • 1.64 kB
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"; // src/components/router/RouterIconButton.tsx const Component$1 = React.forwardRef(function IconButtonComponent(props, reference) { const $ = c(3); let t0; if ($[0] !== props || $[1] !== reference) { t0 = /* @__PURE__ */ jsx(IconButton, { ref: reference, component: "a", ...props }); $[0] = props; $[1] = reference; $[2] = t0; } else t0 = $[2]; return t0; }); const CreatedComponent$1 = createLink(Component$1); const RouterIconButton = (props) => { const $ = c(2); let t0; if ($[0] !== props) { t0 = /* @__PURE__ */ jsx(CreatedComponent$1, { ...props }); $[0] = props; $[1] = t0; } else t0 = $[1]; return t0; }; // src/components/router/RouterListItemButton.tsx const Component = React.forwardRef(function ButtonComponent(props, reference) { const $ = c(3); let t0; if ($[0] !== props || $[1] !== reference) { t0 = /* @__PURE__ */ jsx(ListItemButton, { ref: reference, component: "a", ...props }); $[0] = props; $[1] = reference; $[2] = t0; } else t0 = $[2]; return t0; }); const CreatedComponent = createLink(Component); const RouterListItemButton = (props) => { const $ = c(2); let t0; if ($[0] !== props) { t0 = /* @__PURE__ */ jsx(CreatedComponent, { ...props }); $[0] = props; $[1] = t0; } else t0 = $[1]; return t0; }; export { RouterIconButton as n, RouterListItemButton as t }; //# sourceMappingURL=RouterListItemButton-CF-8w-08.mjs.map