import React from 'react';
import * as slate from 'slate';
import * as slateReact from 'slate-react';
import TextEditorContext from './text-editor-context';
import { jsx as _jsx } from "react/jsx-runtime";
export default function TextEditorLoader({
  children
}) {
  return /*#__PURE__*/_jsx(TextEditorContext.Provider, {
    value: {
      slate: slate,
      slateReact: slateReact
    },
    children: children
  });
}