import * as e from "react";
import { j as n } from "../../../../../../../_virtual/jsx-runtime.js";
var o = e.createContext(void 0), s = (r) => {
  const { dir: t, children: i } = r;
  return /* @__PURE__ */ n.jsx(o.Provider, { value: t, children: i });
};
function a(r) {
  const t = e.useContext(o);
  return r || t || "ltr";
}
export {
  s as DirectionProvider,
  a as useDirection
};
//# sourceMappingURL=index.js.map
