UNPKG

@lobehub/editor

Version:

A powerful and extensible rich text editor built on Meta's Lexical framework, providing a modern editing experience with React integration.

29 lines (28 loc) 833 B
import type { FlexboxProps } from '@lobehub/ui'; import type { CSSProperties, ReactNode, Ref } from 'react'; export interface ChatInputProps extends Omit<FlexboxProps, 'height'> { classNames?: { body?: string; footer?: string; header?: string; }; defaultHeight?: number; footer?: ReactNode; fullscreen?: boolean; header?: ReactNode; height?: number; maxHeight?: number; minHeight?: number; onBodyClick?: FlexboxProps['onClick']; onSizeChange?: (height: number) => void; onSizeDragging?: (height: number) => void; resize?: boolean; resizeMaxHeightOffset?: number; showResizeHandle?: boolean; slashMenuRef?: Ref<HTMLDivElement>; styles?: { body?: CSSProperties; footer?: CSSProperties; header?: CSSProperties; }; }