riku
10 小时以前 8e3f3890e93d097df4be744648b9ac404d20a558
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import { AttachmentsProps, FileItem } from '../attachments/index';
export interface TdChatSenderProps {
    adjustPosition?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    attachmentsProps?: {
        type: ObjectConstructor;
        value?: AttachmentsProps;
    };
    autoRiseWithKeyboard?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    disabled?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    fileList?: {
        type: ArrayConstructor;
        value?: FileItem[];
    };
    loading?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    placeholder?: {
        type: StringConstructor;
        value?: string;
    };
    renderPresets?: {
        type: ArrayConstructor;
        value?: ChatActionButtons;
    };
    textareaProps?: {
        type: null;
        value?: boolean | object;
    };
    value?: {
        type: StringConstructor;
        value?: string;
    };
    visible?: {
        type: BooleanConstructor;
        value?: boolean;
    };
}
export declare type ChatActionButtons = Array<ChatActionButton>;
export declare type ChatActionButton = UploadButton | SendButton;
export interface UploadButton {
    name: 'upload';
    presets: string[];
    status?: string;
}
export interface SendButton {
    name: 'send';
    type: 'icon' | 'text';
}