'use client';
import * as React from 'react';
import { jsx } from 'react/jsx-runtime';

const RtlContext = /*#__PURE__*/React.createContext();
function RtlProvider({
  value,
  ...props
}) {
  return /*#__PURE__*/jsx(RtlContext.Provider, {
    value: value ?? true,
    ...props
  });
}
const useRtl = () => {
  const value = React.useContext(RtlContext);
  return value ?? false;
};

export { RtlProvider as default, useRtl };
//# sourceMappingURL=index.mjs.map
