UNPKG

one

Version:

One is a React framework for web, iOS, and Android apps.

17 lines (14 loc) • 381 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