UNPKG

@shopify/shop-minis-react

Version:

React component library for Shopify Shop Minis with Tailwind CSS v4 support (source-only, requires TypeScript)

22 lines (21 loc) 771 B
import { jsxs as t, jsx as r } from "react/jsx-runtime"; import { BrowserRouter as n } from "../../shop-minis-react/node_modules/.pnpm/react-router@7.7.0_react-dom@19.1.0_react@19.1.0__react@19.1.0/node_modules/react-router/dist/development/chunk-EF7DTUVF.js"; import { NavigationManager as e } from "../../internal/navigation-manager.js"; import { TransitionContainer as a } from "./transition-container.js"; function x({ children: o, viewTransitions: m = !1, ...i }) { return m ? /* @__PURE__ */ t(n, { ...i, children: [ /* @__PURE__ */ r(e, {}), /* @__PURE__ */ r(a, { children: o }) ] }) : /* @__PURE__ */ t(n, { ...i, children: [ /* @__PURE__ */ r(e, {}), o ] }); } export { x as MinisRouter }; //# sourceMappingURL=minis-router.js.map