use-frontbacked 5.1.4 → 5.1.6
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/dist/cjs/index.js +396 -200
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/DownloadType/index.d.ts +12 -12
- package/dist/cjs/types/components/Firebase/AccessTokenDoor.d.ts +12 -12
- package/dist/cjs/types/components/Firebase/AuthView.d.ts +15 -15
- package/dist/cjs/types/components/Firebase/SignInView.d.ts +11 -11
- package/dist/cjs/types/components/Firebase/SignUpView.d.ts +10 -10
- package/dist/cjs/types/components/Firebase/data.type.d.ts +23 -23
- package/dist/cjs/types/components/Firebase/index.d.ts +14 -14
- package/dist/cjs/types/components/FrontbackedProvider/index.d.ts +55 -55
- package/dist/cjs/types/components/hooks/useReferralId.d.ts +5 -5
- package/dist/cjs/types/components/hooks/useSdkConfig.d.ts +10 -10
- package/dist/cjs/types/components/hooks/useTools/index.d.ts +14 -14
- package/dist/cjs/types/components/hooks/useTools/types.d.ts +62 -62
- package/dist/cjs/types/components/hooks/useTools/utils.d.ts +23 -23
- package/dist/cjs/types/components/index.d.ts +2 -2
- package/dist/cjs/types/components/types.d.ts +214 -214
- package/dist/cjs/types/components/widgets/AppButton.d.ts +17 -17
- package/dist/cjs/types/components/widgets/CopyView.d.ts +24 -24
- package/dist/cjs/types/components/widgets/DrawerPop/index.d.ts +25 -25
- package/dist/cjs/types/components/widgets/InfoLabel.d.ts +11 -11
- package/dist/cjs/types/components/widgets/InputBox/index.d.ts +94 -94
- package/dist/cjs/types/components/widgets/InputBox/utils.d.ts +1 -1
- package/dist/cjs/types/components/widgets/Link.d.ts +9 -9
- package/dist/cjs/types/components/widgets/Loading.d.ts +27 -27
- package/dist/cjs/types/components/widgets/ModalPop/index.d.ts +26 -26
- package/dist/cjs/types/components/widgets/PleaseWaitForX.d.ts +3 -3
- package/dist/cjs/types/index.d.ts +1 -1
- package/dist/cjs/types/theme.d.ts +3 -3
- package/dist/cjs/types/theme.type.d.ts +19 -19
- package/dist/cjs/types/utils/CustomError.d.ts +5 -5
- package/dist/cjs/types/utils/base64Images.d.ts +4 -4
- package/dist/cjs/types/utils/c.d.ts +33 -33
- package/dist/cjs/types/utils/f.d.ts +23 -23
- package/dist/components/DownloadType/index.d.ts +12 -12
- package/dist/components/Firebase/AccessTokenDoor.d.ts +12 -12
- package/dist/components/Firebase/AuthView.d.ts +15 -15
- package/dist/components/Firebase/SignInView.d.ts +11 -11
- package/dist/components/Firebase/SignUpView.d.ts +10 -10
- package/dist/components/Firebase/data.type.d.ts +23 -23
- package/dist/components/Firebase/index.d.ts +14 -14
- package/dist/components/FrontbackedProvider/index.d.ts +55 -55
- package/dist/components/hooks/useReferralId.d.ts +5 -5
- package/dist/components/hooks/useSdkConfig.d.ts +10 -10
- package/dist/components/hooks/useTools/index.d.ts +14 -14
- package/dist/components/hooks/useTools/types.d.ts +62 -62
- package/dist/components/hooks/useTools/utils.d.ts +23 -23
- package/dist/components/index.d.ts +2 -2
- package/dist/components/types.d.ts +214 -214
- package/dist/components/widgets/AppButton.d.ts +17 -17
- package/dist/components/widgets/CopyView.d.ts +24 -24
- package/dist/components/widgets/DrawerPop/index.d.ts +25 -25
- package/dist/components/widgets/InfoLabel.d.ts +11 -11
- package/dist/components/widgets/InputBox/index.d.ts +94 -94
- package/dist/components/widgets/InputBox/utils.d.ts +1 -1
- package/dist/components/widgets/Link.d.ts +9 -9
- package/dist/components/widgets/Loading.d.ts +27 -27
- package/dist/components/widgets/ModalPop/index.d.ts +26 -26
- package/dist/components/widgets/PleaseWaitForX.d.ts +3 -3
- package/dist/esm/index.es.js +396 -200
- package/dist/esm/index.es.js.map +1 -1
- package/dist/esm/types/components/DownloadType/index.d.ts +12 -12
- package/dist/esm/types/components/Firebase/AccessTokenDoor.d.ts +12 -12
- package/dist/esm/types/components/Firebase/AuthView.d.ts +15 -15
- package/dist/esm/types/components/Firebase/SignInView.d.ts +11 -11
- package/dist/esm/types/components/Firebase/SignUpView.d.ts +10 -10
- package/dist/esm/types/components/Firebase/data.type.d.ts +23 -23
- package/dist/esm/types/components/Firebase/index.d.ts +14 -14
- package/dist/esm/types/components/FrontbackedProvider/index.d.ts +55 -55
- package/dist/esm/types/components/hooks/useReferralId.d.ts +5 -5
- package/dist/esm/types/components/hooks/useSdkConfig.d.ts +10 -10
- package/dist/esm/types/components/hooks/useTools/index.d.ts +14 -14
- package/dist/esm/types/components/hooks/useTools/types.d.ts +62 -62
- package/dist/esm/types/components/hooks/useTools/utils.d.ts +23 -23
- package/dist/esm/types/components/index.d.ts +2 -2
- package/dist/esm/types/components/types.d.ts +214 -214
- package/dist/esm/types/components/widgets/AppButton.d.ts +17 -17
- package/dist/esm/types/components/widgets/CopyView.d.ts +24 -24
- package/dist/esm/types/components/widgets/DrawerPop/index.d.ts +25 -25
- package/dist/esm/types/components/widgets/InfoLabel.d.ts +11 -11
- package/dist/esm/types/components/widgets/InputBox/index.d.ts +94 -94
- package/dist/esm/types/components/widgets/InputBox/utils.d.ts +1 -1
- package/dist/esm/types/components/widgets/Link.d.ts +9 -9
- package/dist/esm/types/components/widgets/Loading.d.ts +27 -27
- package/dist/esm/types/components/widgets/ModalPop/index.d.ts +26 -26
- package/dist/esm/types/components/widgets/PleaseWaitForX.d.ts +3 -3
- package/dist/esm/types/index.d.ts +1 -1
- package/dist/esm/types/theme.d.ts +3 -3
- package/dist/esm/types/theme.type.d.ts +19 -19
- package/dist/esm/types/utils/CustomError.d.ts +5 -5
- package/dist/esm/types/utils/base64Images.d.ts +4 -4
- package/dist/esm/types/utils/c.d.ts +33 -33
- package/dist/esm/types/utils/f.d.ts +23 -23
- package/dist/index.d.ts +1 -1
- package/dist/theme.d.ts +3 -3
- package/dist/theme.type.d.ts +19 -19
- package/dist/utils/CustomError.d.ts +5 -5
- package/dist/utils/base64Images.d.ts +4 -4
- package/dist/utils/c.d.ts +33 -33
- package/dist/utils/f.d.ts +23 -23
- package/package.json +83 -83
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface TypesInf {
|
|
3
|
-
text?: number;
|
|
4
|
-
address?: number;
|
|
5
|
-
refCode?: number;
|
|
6
|
-
link?: number;
|
|
7
|
-
shillText?: number;
|
|
8
|
-
refLink?: number;
|
|
9
|
-
phone?: number;
|
|
10
|
-
}
|
|
11
|
-
interface CopyViewProps {
|
|
12
|
-
as?: any;
|
|
13
|
-
textToCopy?: string;
|
|
14
|
-
children?: any;
|
|
15
|
-
type?: number;
|
|
16
|
-
copyType?: number;
|
|
17
|
-
maxChars?: number;
|
|
18
|
-
onCopyMessage?: string;
|
|
19
|
-
[x: string]: any;
|
|
20
|
-
}
|
|
21
|
-
declare const CopyView: React.FC<CopyViewProps> & {
|
|
22
|
-
Types: TypesInf;
|
|
23
|
-
};
|
|
24
|
-
export default CopyView;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface TypesInf {
|
|
3
|
+
text?: number;
|
|
4
|
+
address?: number;
|
|
5
|
+
refCode?: number;
|
|
6
|
+
link?: number;
|
|
7
|
+
shillText?: number;
|
|
8
|
+
refLink?: number;
|
|
9
|
+
phone?: number;
|
|
10
|
+
}
|
|
11
|
+
interface CopyViewProps {
|
|
12
|
+
as?: any;
|
|
13
|
+
textToCopy?: string;
|
|
14
|
+
children?: any;
|
|
15
|
+
type?: number;
|
|
16
|
+
copyType?: number;
|
|
17
|
+
maxChars?: number;
|
|
18
|
+
onCopyMessage?: string;
|
|
19
|
+
[x: string]: any;
|
|
20
|
+
}
|
|
21
|
+
declare const CopyView: React.FC<CopyViewProps> & {
|
|
22
|
+
Types: TypesInf;
|
|
23
|
+
};
|
|
24
|
+
export default CopyView;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface DrawerPopProps {
|
|
3
|
-
bg?: any;
|
|
4
|
-
color?: any;
|
|
5
|
-
h?: any;
|
|
6
|
-
height?: any;
|
|
7
|
-
w?: any;
|
|
8
|
-
width?: any;
|
|
9
|
-
maxH?: any;
|
|
10
|
-
maxHeight?: any;
|
|
11
|
-
maxW?: any;
|
|
12
|
-
maxWidth?: any;
|
|
13
|
-
children: any;
|
|
14
|
-
placement?: any;
|
|
15
|
-
onClose?: () => void;
|
|
16
|
-
isOpen: boolean;
|
|
17
|
-
isClosable?: boolean;
|
|
18
|
-
closeOnOverlayClick?: boolean;
|
|
19
|
-
title?: any;
|
|
20
|
-
footer?: any;
|
|
21
|
-
hideModeSwitch?: boolean;
|
|
22
|
-
[x: string]: any;
|
|
23
|
-
}
|
|
24
|
-
declare const DrawerPop: React.FC<DrawerPopProps>;
|
|
25
|
-
export default DrawerPop;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface DrawerPopProps {
|
|
3
|
+
bg?: any;
|
|
4
|
+
color?: any;
|
|
5
|
+
h?: any;
|
|
6
|
+
height?: any;
|
|
7
|
+
w?: any;
|
|
8
|
+
width?: any;
|
|
9
|
+
maxH?: any;
|
|
10
|
+
maxHeight?: any;
|
|
11
|
+
maxW?: any;
|
|
12
|
+
maxWidth?: any;
|
|
13
|
+
children: any;
|
|
14
|
+
placement?: any;
|
|
15
|
+
onClose?: () => void;
|
|
16
|
+
isOpen: boolean;
|
|
17
|
+
isClosable?: boolean;
|
|
18
|
+
closeOnOverlayClick?: boolean;
|
|
19
|
+
title?: any;
|
|
20
|
+
footer?: any;
|
|
21
|
+
hideModeSwitch?: boolean;
|
|
22
|
+
[x: string]: any;
|
|
23
|
+
}
|
|
24
|
+
declare const DrawerPop: React.FC<DrawerPopProps>;
|
|
25
|
+
export default DrawerPop;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ResponsiveValue } from "@chakra-ui/react";
|
|
3
|
-
interface InfoLabelProps {
|
|
4
|
-
children?: any;
|
|
5
|
-
as?: any;
|
|
6
|
-
info?: string | string[];
|
|
7
|
-
textTransform?: ResponsiveValue<any>;
|
|
8
|
-
[x: string]: any;
|
|
9
|
-
}
|
|
10
|
-
declare const InfoLabel: React.FC<InfoLabelProps>;
|
|
11
|
-
export default InfoLabel;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ResponsiveValue } from "@chakra-ui/react";
|
|
3
|
+
interface InfoLabelProps {
|
|
4
|
+
children?: any;
|
|
5
|
+
as?: any;
|
|
6
|
+
info?: string | string[];
|
|
7
|
+
textTransform?: ResponsiveValue<any>;
|
|
8
|
+
[x: string]: any;
|
|
9
|
+
}
|
|
10
|
+
declare const InfoLabel: React.FC<InfoLabelProps>;
|
|
11
|
+
export default InfoLabel;
|
|
@@ -1,94 +1,94 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ResponsiveValue } from '@chakra-ui/react';
|
|
3
|
-
export declare const TYPES: {
|
|
4
|
-
text: string;
|
|
5
|
-
email: string;
|
|
6
|
-
number: string;
|
|
7
|
-
range: string;
|
|
8
|
-
date: string;
|
|
9
|
-
phone: string;
|
|
10
|
-
password: string;
|
|
11
|
-
select: string;
|
|
12
|
-
select_tree: string;
|
|
13
|
-
textarea: string;
|
|
14
|
-
checkbox: string;
|
|
15
|
-
checklist: string;
|
|
16
|
-
radio: string;
|
|
17
|
-
none: string;
|
|
18
|
-
location: string;
|
|
19
|
-
price: string;
|
|
20
|
-
};
|
|
21
|
-
export interface PhoneValue {
|
|
22
|
-
number: string;
|
|
23
|
-
countryCode?: string;
|
|
24
|
-
currencyCode?: string;
|
|
25
|
-
dialingCode?: string;
|
|
26
|
-
}
|
|
27
|
-
export interface LocationValue {
|
|
28
|
-
name?: string;
|
|
29
|
-
address?: string;
|
|
30
|
-
position?: {
|
|
31
|
-
lat: number;
|
|
32
|
-
lng: number;
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
export interface RangeValue {
|
|
36
|
-
min: number;
|
|
37
|
-
max: number;
|
|
38
|
-
}
|
|
39
|
-
interface InputBoxProps {
|
|
40
|
-
key?: string;
|
|
41
|
-
id?: string;
|
|
42
|
-
title?: string | any[];
|
|
43
|
-
name?: string;
|
|
44
|
-
type?: string;
|
|
45
|
-
locale?: string;
|
|
46
|
-
value?: string | any[] | number | RangeValue | PhoneValue | LocationValue | boolean | any;
|
|
47
|
-
onFocus?: (value: any) => void;
|
|
48
|
-
onChange?: (value: any) => void;
|
|
49
|
-
onCheckInfo?: (value: any) => {
|
|
50
|
-
waitTime: number;
|
|
51
|
-
checker: (currentValue: any) => Promise<boolean>;
|
|
52
|
-
};
|
|
53
|
-
onKeyDown?: (e?: any) => void;
|
|
54
|
-
errorMessage?: string | any[];
|
|
55
|
-
helperText?: string | any[] | any | undefined;
|
|
56
|
-
info?: string | any[];
|
|
57
|
-
placeholder?: string | any[] | undefined;
|
|
58
|
-
textTransform?: ResponsiveValue<any>;
|
|
59
|
-
options?: any[];
|
|
60
|
-
onOptionValue?: (option: any, index?: number) => string | number | any[];
|
|
61
|
-
onOptionName?: (option: any, index?: number) => string | any[] | JSX.Element;
|
|
62
|
-
defaultCountry?: string;
|
|
63
|
-
phoneSelectBg?: string;
|
|
64
|
-
phoneSelectColor?: string;
|
|
65
|
-
numberDecimals?: number;
|
|
66
|
-
hasNegOverflow?: boolean;
|
|
67
|
-
numberUnit?: any;
|
|
68
|
-
iconLeft?: any;
|
|
69
|
-
iconRight?: any;
|
|
70
|
-
disableCalendar?: boolean;
|
|
71
|
-
disableClock?: boolean;
|
|
72
|
-
dateFormat?: string;
|
|
73
|
-
direction?: ResponsiveValue<any>;
|
|
74
|
-
maxTextLimit?: number;
|
|
75
|
-
resize?: ResponsiveValue<any>;
|
|
76
|
-
/**Range props */
|
|
77
|
-
rangeMinPlaceholder?: string;
|
|
78
|
-
rangeMaxPlaceholder?: string;
|
|
79
|
-
minTitle?: string | any[];
|
|
80
|
-
maxTitle?: string | any[];
|
|
81
|
-
disabled?: boolean;
|
|
82
|
-
apiKey?: string;
|
|
83
|
-
mapToSearchRatio?: number;
|
|
84
|
-
twoDigitCountryCode?: string;
|
|
85
|
-
inputRef?: any;
|
|
86
|
-
defaultLatlng?: {
|
|
87
|
-
lat: number;
|
|
88
|
-
lng: number;
|
|
89
|
-
} | undefined;
|
|
90
|
-
geotype?: string;
|
|
91
|
-
[x: string]: any;
|
|
92
|
-
}
|
|
93
|
-
declare const _default: React.NamedExoticComponent<InputBoxProps>;
|
|
94
|
-
export default _default;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ResponsiveValue } from '@chakra-ui/react';
|
|
3
|
+
export declare const TYPES: {
|
|
4
|
+
text: string;
|
|
5
|
+
email: string;
|
|
6
|
+
number: string;
|
|
7
|
+
range: string;
|
|
8
|
+
date: string;
|
|
9
|
+
phone: string;
|
|
10
|
+
password: string;
|
|
11
|
+
select: string;
|
|
12
|
+
select_tree: string;
|
|
13
|
+
textarea: string;
|
|
14
|
+
checkbox: string;
|
|
15
|
+
checklist: string;
|
|
16
|
+
radio: string;
|
|
17
|
+
none: string;
|
|
18
|
+
location: string;
|
|
19
|
+
price: string;
|
|
20
|
+
};
|
|
21
|
+
export interface PhoneValue {
|
|
22
|
+
number: string;
|
|
23
|
+
countryCode?: string;
|
|
24
|
+
currencyCode?: string;
|
|
25
|
+
dialingCode?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface LocationValue {
|
|
28
|
+
name?: string;
|
|
29
|
+
address?: string;
|
|
30
|
+
position?: {
|
|
31
|
+
lat: number;
|
|
32
|
+
lng: number;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export interface RangeValue {
|
|
36
|
+
min: number;
|
|
37
|
+
max: number;
|
|
38
|
+
}
|
|
39
|
+
interface InputBoxProps {
|
|
40
|
+
key?: string;
|
|
41
|
+
id?: string;
|
|
42
|
+
title?: string | any[];
|
|
43
|
+
name?: string;
|
|
44
|
+
type?: string;
|
|
45
|
+
locale?: string;
|
|
46
|
+
value?: string | any[] | number | RangeValue | PhoneValue | LocationValue | boolean | any;
|
|
47
|
+
onFocus?: (value: any) => void;
|
|
48
|
+
onChange?: (value: any) => void;
|
|
49
|
+
onCheckInfo?: (value: any) => {
|
|
50
|
+
waitTime: number;
|
|
51
|
+
checker: (currentValue: any) => Promise<boolean>;
|
|
52
|
+
};
|
|
53
|
+
onKeyDown?: (e?: any) => void;
|
|
54
|
+
errorMessage?: string | any[];
|
|
55
|
+
helperText?: string | any[] | any | undefined;
|
|
56
|
+
info?: string | any[];
|
|
57
|
+
placeholder?: string | any[] | undefined;
|
|
58
|
+
textTransform?: ResponsiveValue<any>;
|
|
59
|
+
options?: any[];
|
|
60
|
+
onOptionValue?: (option: any, index?: number) => string | number | any[];
|
|
61
|
+
onOptionName?: (option: any, index?: number) => string | any[] | JSX.Element;
|
|
62
|
+
defaultCountry?: string;
|
|
63
|
+
phoneSelectBg?: string;
|
|
64
|
+
phoneSelectColor?: string;
|
|
65
|
+
numberDecimals?: number;
|
|
66
|
+
hasNegOverflow?: boolean;
|
|
67
|
+
numberUnit?: any;
|
|
68
|
+
iconLeft?: any;
|
|
69
|
+
iconRight?: any;
|
|
70
|
+
disableCalendar?: boolean;
|
|
71
|
+
disableClock?: boolean;
|
|
72
|
+
dateFormat?: string;
|
|
73
|
+
direction?: ResponsiveValue<any>;
|
|
74
|
+
maxTextLimit?: number;
|
|
75
|
+
resize?: ResponsiveValue<any>;
|
|
76
|
+
/**Range props */
|
|
77
|
+
rangeMinPlaceholder?: string;
|
|
78
|
+
rangeMaxPlaceholder?: string;
|
|
79
|
+
minTitle?: string | any[];
|
|
80
|
+
maxTitle?: string | any[];
|
|
81
|
+
disabled?: boolean;
|
|
82
|
+
apiKey?: string;
|
|
83
|
+
mapToSearchRatio?: number;
|
|
84
|
+
twoDigitCountryCode?: string;
|
|
85
|
+
inputRef?: any;
|
|
86
|
+
defaultLatlng?: {
|
|
87
|
+
lat: number;
|
|
88
|
+
lng: number;
|
|
89
|
+
} | undefined;
|
|
90
|
+
geotype?: string;
|
|
91
|
+
[x: string]: any;
|
|
92
|
+
}
|
|
93
|
+
declare const _default: React.NamedExoticComponent<InputBoxProps>;
|
|
94
|
+
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const arraysEqual: (array1: any[], array2: any[]) => boolean;
|
|
1
|
+
export declare const arraysEqual: (array1: any[], array2: any[]) => boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
interface LinkProps {
|
|
3
|
-
children: any;
|
|
4
|
-
disabled?: boolean | null | undefined;
|
|
5
|
-
onClick?: (e: any) => void | null | undefined;
|
|
6
|
-
[x: string]: any;
|
|
7
|
-
}
|
|
8
|
-
declare const Link: React.FC<LinkProps>;
|
|
9
|
-
export default Link;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface LinkProps {
|
|
3
|
+
children: any;
|
|
4
|
+
disabled?: boolean | null | undefined;
|
|
5
|
+
onClick?: (e: any) => void | null | undefined;
|
|
6
|
+
[x: string]: any;
|
|
7
|
+
}
|
|
8
|
+
declare const Link: React.FC<LinkProps>;
|
|
9
|
+
export default Link;
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface TYPES_PROPS {
|
|
3
|
-
audio: string;
|
|
4
|
-
bars: string;
|
|
5
|
-
ballTrinagle: string;
|
|
6
|
-
circles: string;
|
|
7
|
-
grid: string;
|
|
8
|
-
hearts: string;
|
|
9
|
-
oval: string;
|
|
10
|
-
puff: string;
|
|
11
|
-
rings: string;
|
|
12
|
-
tailSpin: string;
|
|
13
|
-
threeDots: string;
|
|
14
|
-
RotatingLines: string;
|
|
15
|
-
Dna: string;
|
|
16
|
-
}
|
|
17
|
-
interface LoadingProps {
|
|
18
|
-
type?: string;
|
|
19
|
-
[x: string]: any;
|
|
20
|
-
}
|
|
21
|
-
declare const Loading: {
|
|
22
|
-
type?: string;
|
|
23
|
-
[x: string]: any;
|
|
24
|
-
} & {
|
|
25
|
-
TYPES: TYPES_PROPS;
|
|
26
|
-
} & React.FC<LoadingProps>;
|
|
27
|
-
export default Loading;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface TYPES_PROPS {
|
|
3
|
+
audio: string;
|
|
4
|
+
bars: string;
|
|
5
|
+
ballTrinagle: string;
|
|
6
|
+
circles: string;
|
|
7
|
+
grid: string;
|
|
8
|
+
hearts: string;
|
|
9
|
+
oval: string;
|
|
10
|
+
puff: string;
|
|
11
|
+
rings: string;
|
|
12
|
+
tailSpin: string;
|
|
13
|
+
threeDots: string;
|
|
14
|
+
RotatingLines: string;
|
|
15
|
+
Dna: string;
|
|
16
|
+
}
|
|
17
|
+
interface LoadingProps {
|
|
18
|
+
type?: string;
|
|
19
|
+
[x: string]: any;
|
|
20
|
+
}
|
|
21
|
+
declare const Loading: {
|
|
22
|
+
type?: string;
|
|
23
|
+
[x: string]: any;
|
|
24
|
+
} & {
|
|
25
|
+
TYPES: TYPES_PROPS;
|
|
26
|
+
} & React.FC<LoadingProps>;
|
|
27
|
+
export default Loading;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface ModalPopProps {
|
|
3
|
-
bg?: any;
|
|
4
|
-
color?: any;
|
|
5
|
-
w?: any;
|
|
6
|
-
width?: any;
|
|
7
|
-
maxW?: any;
|
|
8
|
-
maxWidth?: any;
|
|
9
|
-
h?: any;
|
|
10
|
-
height?: any;
|
|
11
|
-
maxH?: any;
|
|
12
|
-
maxHeight?: any;
|
|
13
|
-
children: any;
|
|
14
|
-
placement?: any;
|
|
15
|
-
onClose?: () => void;
|
|
16
|
-
isOpen: boolean;
|
|
17
|
-
isClosable?: boolean;
|
|
18
|
-
title?: any;
|
|
19
|
-
subtitle?: any;
|
|
20
|
-
footer?: any;
|
|
21
|
-
hideModeSwitch?: boolean;
|
|
22
|
-
noHeader?: boolean;
|
|
23
|
-
[x: string]: any;
|
|
24
|
-
}
|
|
25
|
-
declare const ModalPop: React.FC<ModalPopProps>;
|
|
26
|
-
export default ModalPop;
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface ModalPopProps {
|
|
3
|
+
bg?: any;
|
|
4
|
+
color?: any;
|
|
5
|
+
w?: any;
|
|
6
|
+
width?: any;
|
|
7
|
+
maxW?: any;
|
|
8
|
+
maxWidth?: any;
|
|
9
|
+
h?: any;
|
|
10
|
+
height?: any;
|
|
11
|
+
maxH?: any;
|
|
12
|
+
maxHeight?: any;
|
|
13
|
+
children: any;
|
|
14
|
+
placement?: any;
|
|
15
|
+
onClose?: () => void;
|
|
16
|
+
isOpen: boolean;
|
|
17
|
+
isClosable?: boolean;
|
|
18
|
+
title?: any;
|
|
19
|
+
subtitle?: any;
|
|
20
|
+
footer?: any;
|
|
21
|
+
hideModeSwitch?: boolean;
|
|
22
|
+
noHeader?: boolean;
|
|
23
|
+
[x: string]: any;
|
|
24
|
+
}
|
|
25
|
+
declare const ModalPop: React.FC<ModalPopProps>;
|
|
26
|
+
export default ModalPop;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const PleaseWaitForX: () => React.JSX.Element;
|
|
3
|
-
export default PleaseWaitForX;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const PleaseWaitForX: () => React.JSX.Element;
|
|
3
|
+
export default PleaseWaitForX;
|