'use strict';

var React = require('react');

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

exports.useDirection = $f631663db3294ace$export$b39126d51d94e6f3;
//# sourceMappingURL=index.cjs.map
