UNPKG

one

Version:

One is a new React Framework that makes Vite serve both native and web.

22 lines (21 loc) 428 B
import { FrozeContext } from "./hooks.mjs"; import { jsx } from "react/jsx-runtime"; function Frozen({ on = false, children }) { return /* @__PURE__ */jsx(FrozeContext.Provider, { value: on, children: /* @__PURE__ */jsx("div", { ...(on && { inert: true }), style: { display: "contents" }, children }) }); } export { Frozen }; //# sourceMappingURL=Frozen.mjs.map