@artmate/chat
Version:
**开箱即用的AI组件库(基于 Vue3 + ElementPlus)**
26 lines (25 loc) • 566 B
TypeScript
export type SubmitType = 'enter' | 'shiftEnter' | false;
export interface HeaderProps {
open?: boolean;
title?: string;
closable?: boolean;
className?: string;
}
export interface SenderProps {
modelValue: string;
classNames?: {
actions?: string;
input?: string;
prefix?: string;
};
placeholder?: string;
disabled?: boolean;
loading?: boolean;
readOnly?: boolean;
rootClassName?: string;
submitType?: SubmitType;
autoSize?: {
minRows?: number;
maxRows?: number;
};
}