"use client";
import { LocaleContextProvider } from "./use-locale-context.js";
import { jsx } from "react/jsx-runtime";
import { isRTL } from "@zag-js/i18n-utils";
//#region src/providers/locale/locale-provider.tsx
var LocaleProvider = (props) => {
	const { children, locale } = props;
	return /* @__PURE__ */ jsx(LocaleContextProvider, {
		value: {
			locale,
			dir: isRTL(locale) ? "rtl" : "ltr"
		},
		children
	});
};
//#endregion
export { LocaleProvider };
