riku
7 小时以前 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
export interface TdChatListProps {
    animation?: {
        type: StringConstructor;
        value?: 'skeleton' | 'moving' | 'gradient' | 'dot';
    };
    data?: {
        type: ArrayConstructor;
        value?: Array<TdChatItemMeta>;
    };
    layout?: {
        type: StringConstructor;
        value?: 'both' | 'single';
    };
    reverse?: {
        type: BooleanConstructor;
        value?: boolean;
    };
}
export interface TdChatItemMeta {
    avatar?: string;
    name?: string;
    role?: string;
    datetime?: string;
    content?: string;
    status?: string;
}