import type { EditorCore } from "@jeeboard/core"; export interface ReactEditorHostProps { readonly editor: EditorCore; readonly className?: string; } export interface ReactEditorBinding { readonly packageName: "@jeeboard/react"; readonly editor: EditorCore; } export function createReactEditorBinding( editor: EditorCore ): ReactEditorBinding { return { packageName: "@jeeboard/react", editor, }; }