slate-react
Version:
Tools for building completely customizable richtext editors with React.
9 lines • 298 B
TypeScript
/**
* 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