@xsolla/xui-icons-payment 0.74.0 → 0.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/native/index.js.flow +100 -0
- package/package.json +1 -1
- package/web/index.js.flow +100 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Flowtype definitions for index
|
|
3
|
+
* Generated by Flowgen from a Typescript Definition
|
|
4
|
+
* Flowgen v1.21.0
|
|
5
|
+
* @flow
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import React from "react";
|
|
9
|
+
declare interface PaymentIconProps {
|
|
10
|
+
/**
|
|
11
|
+
* Height in pixels (width auto-calculated as 4:3 ratio). Default: 18
|
|
12
|
+
*/
|
|
13
|
+
size?: number;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Additional CSS class (web only)
|
|
17
|
+
*/
|
|
18
|
+
className?: string;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Inline styles
|
|
22
|
+
*/
|
|
23
|
+
style?: React.CSSProperties;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Test ID for testing frameworks
|
|
27
|
+
*/
|
|
28
|
+
"data-testid"?: string;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Test ID for React Native
|
|
32
|
+
*/
|
|
33
|
+
testID?: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Accessible label for screen readers
|
|
37
|
+
*/
|
|
38
|
+
"aria-label"?: string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Whether the icon is hidden from screen readers. Default: false if aria-label provided
|
|
42
|
+
*/
|
|
43
|
+
"aria-hidden"?: boolean;
|
|
44
|
+
}
|
|
45
|
+
declare type PaymentIconComponent = React.FC<PaymentIconProps>;
|
|
46
|
+
/**
|
|
47
|
+
* Internal props for PaymentIcon wrapper
|
|
48
|
+
*/
|
|
49
|
+
declare type PaymentIconInternalProps = {
|
|
50
|
+
children?: React.ReactNode,
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* SVG content as string for rendering
|
|
54
|
+
*/
|
|
55
|
+
svgContent: string,
|
|
56
|
+
...
|
|
57
|
+
} & PaymentIconProps;
|
|
58
|
+
declare var PaymentIcon: React.FC<PaymentIconInternalProps>;
|
|
59
|
+
declare var AmericanExpress: React.FC<PaymentIconProps>;
|
|
60
|
+
declare var Aura: React.FC<PaymentIconProps>;
|
|
61
|
+
declare var CartesBancaires: React.FC<PaymentIconProps>;
|
|
62
|
+
declare var Cirrus: React.FC<PaymentIconProps>;
|
|
63
|
+
declare var Dankort: React.FC<PaymentIconProps>;
|
|
64
|
+
declare var Dinersclub: React.FC<PaymentIconProps>;
|
|
65
|
+
declare var Discover: React.FC<PaymentIconProps>;
|
|
66
|
+
declare var Elo: React.FC<PaymentIconProps>;
|
|
67
|
+
declare var Hipercard: React.FC<PaymentIconProps>;
|
|
68
|
+
declare var Jcb: React.FC<PaymentIconProps>;
|
|
69
|
+
declare var Maestro: React.FC<PaymentIconProps>;
|
|
70
|
+
declare var Mastercard: React.FC<PaymentIconProps>;
|
|
71
|
+
declare var Mir: React.FC<PaymentIconProps>;
|
|
72
|
+
declare var Naranja: React.FC<PaymentIconProps>;
|
|
73
|
+
declare var Paypal: React.FC<PaymentIconProps>;
|
|
74
|
+
declare var Sodexo: React.FC<PaymentIconProps>;
|
|
75
|
+
declare var Uatp: React.FC<PaymentIconProps>;
|
|
76
|
+
declare var Unionpay: React.FC<PaymentIconProps>;
|
|
77
|
+
declare var Visa: React.FC<PaymentIconProps>;
|
|
78
|
+
export type { PaymentIconComponent, PaymentIconProps };
|
|
79
|
+
declare export {
|
|
80
|
+
AmericanExpress,
|
|
81
|
+
Aura,
|
|
82
|
+
CartesBancaires,
|
|
83
|
+
Cirrus,
|
|
84
|
+
Dankort,
|
|
85
|
+
Dinersclub,
|
|
86
|
+
Discover,
|
|
87
|
+
Elo,
|
|
88
|
+
Hipercard,
|
|
89
|
+
Jcb,
|
|
90
|
+
Maestro,
|
|
91
|
+
Mastercard,
|
|
92
|
+
Mir,
|
|
93
|
+
Naranja,
|
|
94
|
+
PaymentIcon,
|
|
95
|
+
Paypal,
|
|
96
|
+
Sodexo,
|
|
97
|
+
Uatp,
|
|
98
|
+
Unionpay,
|
|
99
|
+
Visa,
|
|
100
|
+
};
|
package/package.json
CHANGED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Flowtype definitions for index
|
|
3
|
+
* Generated by Flowgen from a Typescript Definition
|
|
4
|
+
* Flowgen v1.21.0
|
|
5
|
+
* @flow
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import React from "react";
|
|
9
|
+
declare interface PaymentIconProps {
|
|
10
|
+
/**
|
|
11
|
+
* Height in pixels (width auto-calculated as 4:3 ratio). Default: 18
|
|
12
|
+
*/
|
|
13
|
+
size?: number;
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Additional CSS class (web only)
|
|
17
|
+
*/
|
|
18
|
+
className?: string;
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Inline styles
|
|
22
|
+
*/
|
|
23
|
+
style?: React.CSSProperties;
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Test ID for testing frameworks
|
|
27
|
+
*/
|
|
28
|
+
"data-testid"?: string;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* Test ID for React Native
|
|
32
|
+
*/
|
|
33
|
+
testID?: string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Accessible label for screen readers
|
|
37
|
+
*/
|
|
38
|
+
"aria-label"?: string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Whether the icon is hidden from screen readers. Default: false if aria-label provided
|
|
42
|
+
*/
|
|
43
|
+
"aria-hidden"?: boolean;
|
|
44
|
+
}
|
|
45
|
+
declare type PaymentIconComponent = React.FC<PaymentIconProps>;
|
|
46
|
+
/**
|
|
47
|
+
* Internal props for PaymentIcon wrapper
|
|
48
|
+
*/
|
|
49
|
+
declare type PaymentIconInternalProps = {
|
|
50
|
+
children?: React.ReactNode,
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* SVG content as string for rendering
|
|
54
|
+
*/
|
|
55
|
+
svgContent: string,
|
|
56
|
+
...
|
|
57
|
+
} & PaymentIconProps;
|
|
58
|
+
declare var PaymentIcon: React.FC<PaymentIconInternalProps>;
|
|
59
|
+
declare var AmericanExpress: React.FC<PaymentIconProps>;
|
|
60
|
+
declare var Aura: React.FC<PaymentIconProps>;
|
|
61
|
+
declare var CartesBancaires: React.FC<PaymentIconProps>;
|
|
62
|
+
declare var Cirrus: React.FC<PaymentIconProps>;
|
|
63
|
+
declare var Dankort: React.FC<PaymentIconProps>;
|
|
64
|
+
declare var Dinersclub: React.FC<PaymentIconProps>;
|
|
65
|
+
declare var Discover: React.FC<PaymentIconProps>;
|
|
66
|
+
declare var Elo: React.FC<PaymentIconProps>;
|
|
67
|
+
declare var Hipercard: React.FC<PaymentIconProps>;
|
|
68
|
+
declare var Jcb: React.FC<PaymentIconProps>;
|
|
69
|
+
declare var Maestro: React.FC<PaymentIconProps>;
|
|
70
|
+
declare var Mastercard: React.FC<PaymentIconProps>;
|
|
71
|
+
declare var Mir: React.FC<PaymentIconProps>;
|
|
72
|
+
declare var Naranja: React.FC<PaymentIconProps>;
|
|
73
|
+
declare var Paypal: React.FC<PaymentIconProps>;
|
|
74
|
+
declare var Sodexo: React.FC<PaymentIconProps>;
|
|
75
|
+
declare var Uatp: React.FC<PaymentIconProps>;
|
|
76
|
+
declare var Unionpay: React.FC<PaymentIconProps>;
|
|
77
|
+
declare var Visa: React.FC<PaymentIconProps>;
|
|
78
|
+
export type { PaymentIconComponent, PaymentIconProps };
|
|
79
|
+
declare export {
|
|
80
|
+
AmericanExpress,
|
|
81
|
+
Aura,
|
|
82
|
+
CartesBancaires,
|
|
83
|
+
Cirrus,
|
|
84
|
+
Dankort,
|
|
85
|
+
Dinersclub,
|
|
86
|
+
Discover,
|
|
87
|
+
Elo,
|
|
88
|
+
Hipercard,
|
|
89
|
+
Jcb,
|
|
90
|
+
Maestro,
|
|
91
|
+
Mastercard,
|
|
92
|
+
Mir,
|
|
93
|
+
Naranja,
|
|
94
|
+
PaymentIcon,
|
|
95
|
+
Paypal,
|
|
96
|
+
Sodexo,
|
|
97
|
+
Uatp,
|
|
98
|
+
Unionpay,
|
|
99
|
+
Visa,
|
|
100
|
+
};
|