@wangeditor-kai/yjs-for-react
Version:
React specific components/utils for wangeditor-next-yjs.
5 lines (4 loc) • 381 B
TypeScript
import { CursorState } from '@wangeditor-kai/yjs';
import { Store } from '../types';
export type CursorStore<TCursorData extends Record<string, unknown> = Record<string, unknown>> = Store<Record<string, CursorState<TCursorData>>>;
export declare function useRemoteCursorStateStore<TCursorData extends Record<string, unknown> = Record<string, unknown>>(): CursorStore<TCursorData>;