'use client';

import { createContext, useContext, useState } from "react";
import { jsx } from "react/jsx-runtime";

//#region src/components/Tab/TabContext.tsx
/**
* Context that store the current locale on the client side
*/
const TabContext = createContext({
	tabsValues: {},
	setTabsValues: (() => {})
});
/**
* Hook that provides the current locale
*/
const useTabContext = () => useContext(TabContext);
/**
* Provider that store the current locale on the client side
*/
const TabProvider = ({ children }) => {
	const [tabsValues, setTabsValues] = useState({});
	return /* @__PURE__ */ jsx(TabContext, {
		value: {
			tabsValues,
			setTabsValues
		},
		children
	});
};

//#endregion
export { TabContext, TabProvider, useTabContext };
//# sourceMappingURL=TabContext.mjs.map