Files
coopgo/node_modules/slate-react/dist/hooks/use-read-only.d.ts
sgauthier 6e64e138e2
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
planning
2024-10-14 09:15:30 +02:00

10 lines
339 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