riku
8 小时以前 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
export interface TdChatActionbarProps {
    actionBar?: {
        type: ArrayConstructor;
        value?: Array<'replay' | 'copy' | 'good' | 'bad' | 'share' | 'quote'>;
    };
    chatId?: {
        type: StringConstructor;
        value?: string;
    };
    comment?: {
        type: StringConstructor;
        value?: 'good' | 'bad';
    };
    content?: {
        type: StringConstructor;
        value?: string;
    };
    copyMode?: {
        type: StringConstructor;
        value?: 'markdown' | 'text';
    };
    disabled?: {
        type: BooleanConstructor;
        value?: boolean;
    };
    longPressPosition?: {
        type: ObjectConstructor;
        value?: ChatActionbarLongPressPosition;
    };
    placement?: {
        type: StringConstructor;
        value?: 'start' | 'end' | 'space-around' | 'space-between' | 'longpress';
    };
}
export interface ChatActionbarLongPressPosition {
    type?: object;
    value?: LongPressPositionValue;
}
export interface LongPressPositionValue {
    pageX?: number;
    pageY?: number;
    clientX?: number;
    clientY?: number;
    x?: number;
    y?: number;
}