import * as React from 'react';
import '../../../../../react@18.2.0/node_modules/react/jsx-runtime.js';

// packages/react/direction/src/direction.tsx
var DirectionContext = React.createContext(void 0);
function useDirection(localDir) {
  const globalDir = React.useContext(DirectionContext);
  return localDir || globalDir || "ltr";
}

export { useDirection };
//# sourceMappingURL=index.js.map
