@lexical/react
Version:
This package provides Lexical components and hooks for React applications.
17 lines (16 loc) • 681 B
TypeScript
/**
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
*/
import { EditorThemeClasses, Klass, LexicalEditor, LexicalNode, LexicalNodeReplacement } from 'lexical';
import { ReactNode } from 'react';
export declare function LexicalNestedComposer({ initialEditor, children, initialNodes, initialTheme, skipCollabChecks, }: {
children: ReactNode;
initialEditor: LexicalEditor;
initialTheme?: EditorThemeClasses;
initialNodes?: ReadonlyArray<Klass<LexicalNode> | LexicalNodeReplacement>;
skipCollabChecks?: true;
}): JSX.Element;