edit-on-slate
Version:
Slate 기반의 직관적이고 강력한 리액트 텍스트 에디터 라이브러리
10 lines • 330 B
TypeScript
/// <reference types="react" />
/**
* A React context for sharing the `readOnly` state of the editor.
*/
export declare const ReadOnlyContext: import("react").Context<boolean>;
/**
* Get the current `readOnly` state of the editor.
*/
export declare const useReadOnly: () => boolean;
//# sourceMappingURL=use-read-only.d.ts.map