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 TdQRCodeProps {
| bgColor?: {
| type: StringConstructor;
| value?: string;
| };
| borderless?: {
| type: BooleanConstructor;
| value?: boolean;
| };
| color?: {
| type: StringConstructor;
| value?: string;
| };
| icon?: {
| type: StringConstructor;
| value?: string;
| };
| iconSize?: {
| type: null;
| value?: number | {
| width: number;
| height: number;
| };
| };
| level?: {
| type: StringConstructor;
| value?: 'L' | 'M' | 'Q' | 'H';
| };
| size?: {
| type: NumberConstructor;
| value?: number;
| };
| status?: {
| type: StringConstructor;
| value?: QRStatus;
| };
| value?: {
| type: StringConstructor;
| value?: string;
| };
| }
| export declare type QRStatus = 'active' | 'expired' | 'loading' | 'scanned';
| export declare type StatusRenderInfo = {
| status: QRStatus;
| onRefresh?: () => void;
| };
|
|