UNPKG

@yuntijs/ui

Version:

☁️ Yunti UI - an open-source UI component library for building Cloud Native web apps

21 lines (20 loc) 842 B
import { type DraggablePanelProps } from '@lobehub/ui'; import { type ChatInputAreaInnerProps } from '@lobehub/ui/chat'; import type { TextAreaRef } from 'antd/es/input/TextArea'; import { ReactNode } from 'react'; export interface ChatInputAreaProps extends Omit<ChatInputAreaInnerProps, 'classNames'> { bottomAddons?: ReactNode; classNames?: DraggablePanelProps['classNames']; expand?: boolean; heights?: { headerHeight?: number; inputHeight?: number; maxHeight?: number; minHeight?: number; }; onSizeChange?: DraggablePanelProps['onSizeChange']; setExpand?: (expand: boolean) => void; topAddons?: ReactNode; } declare const _default: import("react").NamedExoticComponent<Omit<ChatInputAreaProps, "ref"> & import("react").RefAttributes<TextAreaRef>>; export default _default;