// src/context/ui-state-provider.tsx
import { createContext, useContext } from "react";
import { jsx } from "react/jsx-runtime";
var UIStateContext = createContext({
  isMobile: false
});
function UIStateProvider({
  children,
  isMobile
}) {
  return /* @__PURE__ */ jsx(UIStateContext.Provider, { value: { isMobile }, children });
}
var useUIState = () => {
  try {
    const state = useContext(UIStateContext);
    return state;
  } catch (error) {
    throw new Error("UIStateProvider not found");
  }
};

export {
  UIStateContext,
  UIStateProvider,
  useUIState
};
//# sourceMappingURL=chunk-PT57HCAI.js.map