import { useContext, createContext } from 'react';

const $f631663db3294ace$var$DirectionContext = /*#__PURE__*/ createContext(undefined);
/* -----------------------------------------------------------------------------------------------*/ function $f631663db3294ace$export$b39126d51d94e6f3(localDir) {
    const globalDir = useContext($f631663db3294ace$var$DirectionContext);
    return localDir || globalDir || 'ltr';
}

export { $f631663db3294ace$export$b39126d51d94e6f3 as useDirection };
//# sourceMappingURL=index.js.map
