UNPKG

@artmate/chat

Version:

借鉴字节开源react库AntX,通过vue实现的版本

23 lines (22 loc) 549 B
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; }; disabled?: boolean; loading?: boolean; readOnly?: boolean; rootClassName?: string; submitType?: SubmitType; onChange?: (value: string) => void; onKeyPress?: (e: KeyboardEvent) => void; }