import * as React from "react";
import "../../../../../../../_virtual/jsx-runtime.js";
var DirectionContext = React.createContext(void 0);
function useDirection(localDir) {
  const globalDir = React.useContext(DirectionContext);
  return localDir || globalDir || "ltr";
}
export {
  useDirection
};
//# sourceMappingURL=index.js.map
