/** * React bindings for Kerebron Editor * * @example * ```tsx * import { useEditor, EditorContent } from '@kerebron/editor-react' * import { StarterKit } from '@kerebron/editor-kits/StarterKit' * * const MyEditor = () => { * const editor = useEditor({ * editorKits: [StarterKit], * content: '

Hello World!

', * }) * * return * } * ``` * * @module */ export { useEditor, type UseEditorOptions } from './useEditor.js'; export { EditorContent, type EditorContentProps, type EditorContentRef, } from './EditorContent.js'; // Re-export CoreEditor for convenience export { CoreEditor } from '@kerebron/editor';