UNPKG

339 BTypeScriptView Raw
1/// <reference types="react" />
2/**
3 * A React context for sharing the `readOnly` state of the editor.
4 */
5export declare const ReadOnlyContext: import("react").Context<boolean>;
6/**
7 * Get the current `readOnly` state of the editor.
8 */
9export declare const useReadOnly: () => boolean;
10//# sourceMappingURL=use-read-only.d.ts.map
\No newline at end of file