text: // import EditorJs from 'react-editor-js';
  import EditorJs from '@editorjs/editorjs';
  import { EDITOR_JS_TOOLS } from '../config/Constants';
  
  const TextEditor = () => {
    const editor = new EditorJs({
      holderId: 'editorjs',
      tools: {
        header: {
          class: EDITOR_JS_TOOLS.header,
          inlineToolbar: true,
        },
        list: {
          class: EDITOR_JS_TOOLS.list,
          inlineToolbar: true,
        },
      },
    });
    return (
      <>
        <div id="editorjs" style={{ border: '1px solid gray' }}>
          {/* <EditorJs tools={EDITOR_JS_TOOLS} holder="custom">
            <div
              id="custom"
              style={{ height: '40rem', overflowY: 'scroll' }}
            ></div>
          </EditorJs> */}
        </div>
      </>
    );
  };
  
  export default TextEditor;
  