@lexical/react
Version:
This package provides Lexical components and hooks for React applications.
10 lines (9 loc) • 515 B
TypeScript
/**
* An extension used to declare that there is a LexicalExtensionComposer or
* ReactPluginHostExtension available so that we can issue runtime warnings
* when plugins that depend on React are hosted in an environment
* where it is not ever going to be rendered.
*
* It is a separate extension so it can be used as a peer dependency.
*/
export declare const ReactProviderExtension: import("lexical").LexicalExtension<import("lexical").ExtensionConfigBase, "@lexical/react/ReactProvider", unknown, unknown>;