one
Version:
One is a React framework for web, iOS, and Android apps.
20 lines (17 loc) • 616 B
JavaScript
import { createContext } from "react";
var TabContext = /* @__PURE__ */ createContext({});
var TabTriggerMapContext = /* @__PURE__ */ createContext({});
var TabsDescriptorsContext = /* @__PURE__ */ createContext({});
var TabsNavigatorContext = /* @__PURE__ */ createContext(null);
var TabsStateContext = /* @__PURE__ */ createContext({
type: "tab",
preloadedRouteKeys: [],
history: [],
index: -1,
key: "",
stale: false,
routeNames: [],
routes: []
});
export { TabContext, TabTriggerMapContext, TabsDescriptorsContext, TabsNavigatorContext, TabsStateContext };
//# sourceMappingURL=TabContext.native.js.map