@lobehub/editor
Version:
A powerful and extensible rich text editor built on Meta's Lexical framework, providing a modern editing experience with React integration.
12 lines (11 loc) • 445 B
TypeScript
import { LexicalEditor, LexicalNode } from 'lexical';
import React from 'react';
export interface PortalContainerProps {
children: React.ReactNode;
className?: string;
editor: LexicalEditor;
node: LexicalNode;
style?: React.CSSProperties;
}
export declare const LexicalPortalContainer: React.ForwardRefExoticComponent<PortalContainerProps & React.RefAttributes<HTMLDivElement | null>>;
export default LexicalPortalContainer;