'use strict';

var React = require('react');
var direction = require('../../common/direction.js');
var jsxRuntime = require('react/jsx-runtime');

const DirectionContext = /*#__PURE__*/React.createContext(direction.Direction.LTR);
const DirectionProvider = ({
  direction,
  children
}) => {
  return /*#__PURE__*/jsxRuntime.jsx(DirectionContext.Provider, {
    value: direction,
    children: children
  });
};

exports.DirectionContext = DirectionContext;
exports.DirectionProvider = DirectionProvider;
//# sourceMappingURL=DirectionProvider.js.map
