@xsolla/xui-icons-currency 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 +68 -0
- package/package.json +1 -1
- package/web/index.js.flow +68 -0
|
@@ -0,0 +1,68 @@
|
|
|
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 type IconVariant = "colored" | "mono";
|
|
10
|
+
declare interface CurrencyIconProps {
|
|
11
|
+
/**
|
|
12
|
+
* Icon variant style. Default: 'colored'
|
|
13
|
+
*/
|
|
14
|
+
variant?: IconVariant;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Size in pixels. Default: 24
|
|
18
|
+
*/
|
|
19
|
+
size?: number;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Icon color (only applies to mono variant). Default: 'currentColor'
|
|
23
|
+
*/
|
|
24
|
+
color?: string;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Additional CSS class
|
|
28
|
+
*/
|
|
29
|
+
className?: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Inline styles
|
|
33
|
+
*/
|
|
34
|
+
style?: React.CSSProperties;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Test ID for testing frameworks (web)
|
|
38
|
+
*/
|
|
39
|
+
"data-testid"?: string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Test ID for testing frameworks (React Native)
|
|
43
|
+
*/
|
|
44
|
+
testID?: string;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Accessible label for screen readers
|
|
48
|
+
*/
|
|
49
|
+
"aria-label"?: string;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Hide from screen readers (default: true if no aria-label)
|
|
53
|
+
*/
|
|
54
|
+
"aria-hidden"?: boolean;
|
|
55
|
+
}
|
|
56
|
+
declare type CurrencyIconComponent = React.FC<CurrencyIconProps>;
|
|
57
|
+
declare type CurrencyIconInternalProps = {
|
|
58
|
+
coloredContent: string,
|
|
59
|
+
monoContent: string,
|
|
60
|
+
...
|
|
61
|
+
} & CurrencyIconProps;
|
|
62
|
+
declare var BaseIcon: React.FC<CurrencyIconInternalProps>;
|
|
63
|
+
declare var PlayTime: React.FC<CurrencyIconProps>;
|
|
64
|
+
declare var XsollaGold: React.FC<CurrencyIconProps>;
|
|
65
|
+
declare var XsollaPoint: React.FC<CurrencyIconProps>;
|
|
66
|
+
declare var XsollaTicket: React.FC<CurrencyIconProps>;
|
|
67
|
+
export type { CurrencyIconComponent, CurrencyIconProps, IconVariant };
|
|
68
|
+
declare export { BaseIcon, PlayTime, XsollaGold, XsollaPoint, XsollaTicket };
|
package/package.json
CHANGED
|
@@ -0,0 +1,68 @@
|
|
|
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 type IconVariant = "colored" | "mono";
|
|
10
|
+
declare interface CurrencyIconProps {
|
|
11
|
+
/**
|
|
12
|
+
* Icon variant style. Default: 'colored'
|
|
13
|
+
*/
|
|
14
|
+
variant?: IconVariant;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Size in pixels. Default: 24
|
|
18
|
+
*/
|
|
19
|
+
size?: number;
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Icon color (only applies to mono variant). Default: 'currentColor'
|
|
23
|
+
*/
|
|
24
|
+
color?: string;
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Additional CSS class
|
|
28
|
+
*/
|
|
29
|
+
className?: string;
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Inline styles
|
|
33
|
+
*/
|
|
34
|
+
style?: React.CSSProperties;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Test ID for testing frameworks (web)
|
|
38
|
+
*/
|
|
39
|
+
"data-testid"?: string;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* Test ID for testing frameworks (React Native)
|
|
43
|
+
*/
|
|
44
|
+
testID?: string;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Accessible label for screen readers
|
|
48
|
+
*/
|
|
49
|
+
"aria-label"?: string;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Hide from screen readers (default: true if no aria-label)
|
|
53
|
+
*/
|
|
54
|
+
"aria-hidden"?: boolean;
|
|
55
|
+
}
|
|
56
|
+
declare type CurrencyIconComponent = React.FC<CurrencyIconProps>;
|
|
57
|
+
declare type CurrencyIconInternalProps = {
|
|
58
|
+
coloredContent: string,
|
|
59
|
+
monoContent: string,
|
|
60
|
+
...
|
|
61
|
+
} & CurrencyIconProps;
|
|
62
|
+
declare var BaseIcon: React.FC<CurrencyIconInternalProps>;
|
|
63
|
+
declare var PlayTime: React.FC<CurrencyIconProps>;
|
|
64
|
+
declare var XsollaGold: React.FC<CurrencyIconProps>;
|
|
65
|
+
declare var XsollaPoint: React.FC<CurrencyIconProps>;
|
|
66
|
+
declare var XsollaTicket: React.FC<CurrencyIconProps>;
|
|
67
|
+
export type { CurrencyIconComponent, CurrencyIconProps, IconVariant };
|
|
68
|
+
declare export { BaseIcon, PlayTime, XsollaGold, XsollaPoint, XsollaTicket };
|