@aws-amplify/ui-react-native 2.3.0 → 2.3.1
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/Authenticator/Authenticator.d.ts +22 -22
- package/dist/Authenticator/Defaults/ConfirmResetPassword/ConfirmResetPassword.d.ts +3 -3
- package/dist/Authenticator/Defaults/ConfirmSignIn/ConfirmSignIn.d.ts +3 -3
- package/dist/Authenticator/Defaults/ConfirmSignUp/ConfirmSignUp.d.ts +3 -3
- package/dist/Authenticator/Defaults/ConfirmVerifyUser/ConfirmVerifyUser.d.ts +3 -3
- package/dist/Authenticator/Defaults/ForceNewPassword/ForceNewPassword.d.ts +3 -3
- package/dist/Authenticator/Defaults/ForgotPassword/ForgotPassword.d.ts +3 -3
- package/dist/Authenticator/Defaults/SetupTotp/SetupTotp.d.ts +3 -3
- package/dist/Authenticator/Defaults/SignIn/SignIn.d.ts +3 -3
- package/dist/Authenticator/Defaults/SignUp/SignUp.d.ts +3 -3
- package/dist/Authenticator/Defaults/VerifyUser/VerifyUser.d.ts +3 -3
- package/dist/Authenticator/Defaults/types.d.ts +1 -0
- package/dist/Authenticator/common/DefaultContainer/DefaultContainer.d.ts +2 -2
- package/dist/Authenticator/common/DefaultContainer/InnerContainer.d.ts +2 -2
- package/dist/Authenticator/common/DefaultContent/DefaultContent.d.ts +2 -2
- package/dist/Authenticator/common/DefaultFooter/DefaultFooter.d.ts +2 -2
- package/dist/Authenticator/common/DefaultFormFields/DefaultRadioFormFields.d.ts +2 -2
- package/dist/Authenticator/common/DefaultFormFields/DefaultTextFormFields.d.ts +2 -2
- package/dist/Authenticator/common/DefaultFormFields/Field.d.ts +2 -2
- package/dist/Authenticator/common/DefaultFormFields/FieldErrors.d.ts +2 -2
- package/dist/Authenticator/common/DefaultHeader/DefaultHeader.d.ts +2 -2
- package/dist/Authenticator/common/FederatedProviderButton/FederatedProviderButton.d.ts +2 -2
- package/dist/Authenticator/common/FederatedProviderButton/types.d.ts +1 -0
- package/dist/Authenticator/common/FederatedProviderButtons/FederatedProviderButtons.d.ts +2 -2
- package/dist/Authenticator/withAuthenticator.d.ts +1 -1
- package/dist/InAppMessaging/components/BannerMessage/BannerMessage.d.ts +2 -2
- package/dist/InAppMessaging/components/CarouselMessage/CarouselMessage.d.ts +2 -2
- package/dist/InAppMessaging/components/CarouselMessage/CarouselMessageItem.d.ts +2 -2
- package/dist/InAppMessaging/components/FullScreenMessage/FullScreenMessage.d.ts +2 -2
- package/dist/InAppMessaging/components/InAppMessageDisplay/InAppMessageDisplay.d.ts +2 -2
- package/dist/InAppMessaging/components/MessageLayout/MessageLayout.d.ts +2 -2
- package/dist/InAppMessaging/components/MessageWrapper/MessageWrapper.d.ts +2 -2
- package/dist/InAppMessaging/components/ModalMessage/ModalMessage.d.ts +2 -2
- package/dist/InAppMessaging/components/withInAppMessaging/withInAppMessaging.d.ts +1 -1
- package/dist/primitives/Button/Button.d.ts +2 -2
- package/dist/primitives/Carousel/Carousel.d.ts +2 -2
- package/dist/primitives/Carousel/CarouselPageIndicator.d.ts +2 -2
- package/dist/primitives/Checkbox/Checkbox.d.ts +2 -2
- package/dist/primitives/Divider/Divider.d.ts +2 -2
- package/dist/primitives/ErrorMessage/ErrorMessage.d.ts +2 -2
- package/dist/primitives/Heading/Heading.d.ts +2 -2
- package/dist/primitives/Icon/Icon.d.ts +2 -2
- package/dist/primitives/IconButton/IconButton.d.ts +2 -2
- package/dist/primitives/Label/Label.d.ts +2 -2
- package/dist/primitives/PasswordField/PasswordField.d.ts +2 -2
- package/dist/primitives/PhoneNumberField/PhoneNumberField.d.ts +2 -2
- package/dist/primitives/Radio/Radio.d.ts +2 -2
- package/dist/primitives/RadioGroup/RadioGroup.d.ts +2 -2
- package/dist/primitives/RadioGroup/types.d.ts +1 -0
- package/dist/primitives/Tabs/Tab.d.ts +2 -2
- package/dist/primitives/Tabs/Tabs.d.ts +2 -2
- package/dist/primitives/Tabs/types.d.ts +1 -0
- package/dist/primitives/TextField/TextField.d.ts +2 -2
- package/dist/primitives/TextField/types.d.ts +1 -0
- package/dist/theme/ThemeProvider.d.ts +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/lib/version.js +1 -1
- package/package.json +4 -4
- package/src/Authenticator/Authenticator.tsx +1 -1
- package/src/Authenticator/Defaults/ConfirmResetPassword/ConfirmResetPassword.tsx +1 -1
- package/src/Authenticator/Defaults/ConfirmSignIn/ConfirmSignIn.tsx +1 -1
- package/src/Authenticator/Defaults/ConfirmSignUp/ConfirmSignUp.tsx +1 -1
- package/src/Authenticator/Defaults/ConfirmVerifyUser/ConfirmVerifyUser.tsx +1 -1
- package/src/Authenticator/Defaults/ForceNewPassword/ForceNewPassword.tsx +1 -1
- package/src/Authenticator/Defaults/ForgotPassword/ForgotPassword.tsx +1 -1
- package/src/Authenticator/Defaults/SetupTotp/SetupTotp.tsx +1 -1
- package/src/Authenticator/Defaults/SignIn/SignIn.tsx +1 -1
- package/src/Authenticator/Defaults/SignUp/SignUp.tsx +1 -1
- package/src/Authenticator/Defaults/VerifyUser/VerifyUser.tsx +1 -1
- package/src/Authenticator/common/DefaultContainer/DefaultContainer.tsx +1 -1
- package/src/Authenticator/common/DefaultContainer/InnerContainer.tsx +1 -1
- package/src/Authenticator/common/DefaultContent/DefaultContent.tsx +1 -1
- package/src/Authenticator/common/DefaultFooter/DefaultFooter.tsx +1 -1
- package/src/Authenticator/common/DefaultFormFields/DefaultRadioFormFields.tsx +1 -1
- package/src/Authenticator/common/DefaultFormFields/DefaultTextFormFields.tsx +1 -1
- package/src/Authenticator/common/DefaultFormFields/Field.tsx +1 -1
- package/src/Authenticator/common/DefaultFormFields/FieldErrors.tsx +1 -1
- package/src/Authenticator/common/DefaultHeader/DefaultHeader.tsx +1 -1
- package/src/Authenticator/common/FederatedProviderButton/FederatedProviderButton.tsx +1 -1
- package/src/Authenticator/common/FederatedProviderButtons/FederatedProviderButtons.tsx +1 -1
- package/src/Authenticator/withAuthenticator.tsx +2 -2
- package/src/InAppMessaging/components/BannerMessage/BannerMessage.tsx +1 -1
- package/src/InAppMessaging/components/CarouselMessage/CarouselMessage.tsx +1 -1
- package/src/InAppMessaging/components/CarouselMessage/CarouselMessageItem.tsx +1 -1
- package/src/InAppMessaging/components/FullScreenMessage/FullScreenMessage.tsx +1 -1
- package/src/InAppMessaging/components/InAppMessageDisplay/InAppMessageDisplay.tsx +1 -1
- package/src/InAppMessaging/components/MessageLayout/MessageLayout.tsx +1 -1
- package/src/InAppMessaging/components/MessageWrapper/MessageWrapper.tsx +1 -1
- package/src/InAppMessaging/components/ModalMessage/ModalMessage.tsx +1 -1
- package/src/InAppMessaging/components/withInAppMessaging/withInAppMessaging.tsx +2 -2
- package/src/primitives/Button/Button.tsx +1 -1
- package/src/primitives/Carousel/Carousel.tsx +1 -1
- package/src/primitives/Carousel/CarouselPageIndicator.tsx +1 -1
- package/src/primitives/Checkbox/Checkbox.tsx +1 -1
- package/src/primitives/Divider/Divider.tsx +1 -1
- package/src/primitives/ErrorMessage/ErrorMessage.tsx +1 -1
- package/src/primitives/Heading/Heading.tsx +1 -1
- package/src/primitives/Icon/Icon.tsx +1 -1
- package/src/primitives/IconButton/IconButton.tsx +1 -1
- package/src/primitives/Label/Label.tsx +1 -1
- package/src/primitives/PasswordField/PasswordField.tsx +1 -1
- package/src/primitives/PhoneNumberField/PhoneNumberField.tsx +1 -1
- package/src/primitives/Radio/Radio.tsx +1 -1
- package/src/primitives/RadioGroup/RadioGroup.tsx +1 -1
- package/src/primitives/Tabs/Tab.tsx +1 -1
- package/src/primitives/Tabs/Tabs.tsx +1 -1
- package/src/primitives/TextField/TextField.tsx +1 -1
- package/src/theme/ThemeProvider.tsx +1 -1
- package/src/version.ts +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { DefaultContainer } from './common';
|
|
3
3
|
import { AuthenticatorProps } from './types';
|
|
4
|
-
declare function Authenticator({ children, components: overrides, Container, Footer, Header, ...options }: AuthenticatorProps):
|
|
4
|
+
declare function Authenticator({ children, components: overrides, Container, Footer, Header, ...options }: AuthenticatorProps): JSX.Element | null;
|
|
5
5
|
declare namespace Authenticator {
|
|
6
6
|
var Container: typeof DefaultContainer;
|
|
7
7
|
var Provider: typeof import("@aws-amplify/ui-react-core").AuthenticatorProvider;
|
|
@@ -12,10 +12,10 @@ declare namespace Authenticator {
|
|
|
12
12
|
fields: import("./hooks").TextFieldOptionsType[];
|
|
13
13
|
} & {
|
|
14
14
|
style?: import("./Defaults/types").ConfirmResetPasswordStyle | undefined;
|
|
15
|
-
}):
|
|
15
|
+
}): JSX.Element;
|
|
16
16
|
Footer: typeof import("./common").DefaultFooter;
|
|
17
17
|
FormFields: {
|
|
18
|
-
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("./common/DefaultFormFields/types").DefaultTextFormFieldsProps):
|
|
18
|
+
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("./common/DefaultFormFields/types").DefaultTextFormFieldsProps): JSX.Element;
|
|
19
19
|
displayName: string;
|
|
20
20
|
};
|
|
21
21
|
Header: typeof import("./common").DefaultHeader;
|
|
@@ -29,10 +29,10 @@ declare namespace Authenticator {
|
|
|
29
29
|
fields: import("./hooks").TextFieldOptionsType[];
|
|
30
30
|
} & {
|
|
31
31
|
style?: import("./Defaults/types").ConfirmSignInStyle | undefined;
|
|
32
|
-
}):
|
|
32
|
+
}): JSX.Element;
|
|
33
33
|
Footer: typeof import("./common").DefaultFooter;
|
|
34
34
|
FormFields: {
|
|
35
|
-
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("./common/DefaultFormFields/types").DefaultTextFormFieldsProps):
|
|
35
|
+
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("./common/DefaultFormFields/types").DefaultTextFormFieldsProps): JSX.Element;
|
|
36
36
|
displayName: string;
|
|
37
37
|
};
|
|
38
38
|
Header: typeof import("./common").DefaultHeader;
|
|
@@ -46,9 +46,9 @@ declare namespace Authenticator {
|
|
|
46
46
|
fields: import("./hooks").TextFieldOptionsType[];
|
|
47
47
|
} & {
|
|
48
48
|
style?: import("./Defaults/types").ConfirmSignUpStyle | undefined;
|
|
49
|
-
}):
|
|
49
|
+
}): JSX.Element;
|
|
50
50
|
FormFields: {
|
|
51
|
-
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("./common/DefaultFormFields/types").DefaultTextFormFieldsProps):
|
|
51
|
+
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("./common/DefaultFormFields/types").DefaultTextFormFieldsProps): JSX.Element;
|
|
52
52
|
displayName: string;
|
|
53
53
|
};
|
|
54
54
|
Footer: typeof import("./common").DefaultFooter;
|
|
@@ -62,10 +62,10 @@ declare namespace Authenticator {
|
|
|
62
62
|
fields: import("./hooks").TextFieldOptionsType[];
|
|
63
63
|
} & {
|
|
64
64
|
style?: import("./Defaults/types").ConfirmVerifyUserStyle | undefined;
|
|
65
|
-
}):
|
|
65
|
+
}): JSX.Element;
|
|
66
66
|
Footer: typeof import("./common").DefaultFooter;
|
|
67
67
|
FormFields: {
|
|
68
|
-
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("./common/DefaultFormFields/types").DefaultTextFormFieldsProps):
|
|
68
|
+
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("./common/DefaultFormFields/types").DefaultTextFormFieldsProps): JSX.Element;
|
|
69
69
|
displayName: string;
|
|
70
70
|
};
|
|
71
71
|
Header: typeof import("./common").DefaultHeader;
|
|
@@ -78,10 +78,10 @@ declare namespace Authenticator {
|
|
|
78
78
|
fields: import("./hooks").TextFieldOptionsType[];
|
|
79
79
|
} & {
|
|
80
80
|
style?: import("./Defaults/types").ForceNewPasswordStyle | undefined;
|
|
81
|
-
}):
|
|
81
|
+
}): JSX.Element;
|
|
82
82
|
Footer: typeof import("./common").DefaultFooter;
|
|
83
83
|
FormFields: {
|
|
84
|
-
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("./common/DefaultFormFields/types").DefaultTextFormFieldsProps):
|
|
84
|
+
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("./common/DefaultFormFields/types").DefaultTextFormFieldsProps): JSX.Element;
|
|
85
85
|
displayName: string;
|
|
86
86
|
};
|
|
87
87
|
Header: typeof import("./common").DefaultHeader;
|
|
@@ -94,10 +94,10 @@ declare namespace Authenticator {
|
|
|
94
94
|
fields: import("./hooks").TextFieldOptionsType[];
|
|
95
95
|
} & {
|
|
96
96
|
style?: import("./Defaults/types").ForgotPasswordStyle | undefined;
|
|
97
|
-
}):
|
|
97
|
+
}): JSX.Element;
|
|
98
98
|
Footer: typeof import("./common").DefaultFooter;
|
|
99
99
|
FormFields: {
|
|
100
|
-
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("./common/DefaultFormFields/types").DefaultTextFormFieldsProps):
|
|
100
|
+
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("./common/DefaultFormFields/types").DefaultTextFormFieldsProps): JSX.Element;
|
|
101
101
|
displayName: string;
|
|
102
102
|
};
|
|
103
103
|
Header: typeof import("./common").DefaultHeader;
|
|
@@ -112,10 +112,10 @@ declare namespace Authenticator {
|
|
|
112
112
|
fields: import("./hooks").TextFieldOptionsType[];
|
|
113
113
|
} & {
|
|
114
114
|
style?: import("./Defaults/types").SetupTotpStyle | undefined;
|
|
115
|
-
}):
|
|
115
|
+
}): JSX.Element;
|
|
116
116
|
Footer: typeof import("./common").DefaultFooter;
|
|
117
117
|
FormFields: {
|
|
118
|
-
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("./common/DefaultFormFields/types").DefaultTextFormFieldsProps):
|
|
118
|
+
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("./common/DefaultFormFields/types").DefaultTextFormFieldsProps): JSX.Element;
|
|
119
119
|
displayName: string;
|
|
120
120
|
};
|
|
121
121
|
Header: typeof import("./common").DefaultHeader;
|
|
@@ -132,10 +132,10 @@ declare namespace Authenticator {
|
|
|
132
132
|
fields: import("./hooks").TextFieldOptionsType[];
|
|
133
133
|
} & {
|
|
134
134
|
style?: import("./Defaults/types").SignInStyle | undefined;
|
|
135
|
-
}):
|
|
135
|
+
}): JSX.Element;
|
|
136
136
|
Footer: typeof import("./common").DefaultFooter;
|
|
137
137
|
FormFields: {
|
|
138
|
-
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("./common/DefaultFormFields/types").DefaultTextFormFieldsProps):
|
|
138
|
+
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("./common/DefaultFormFields/types").DefaultTextFormFieldsProps): JSX.Element;
|
|
139
139
|
displayName: string;
|
|
140
140
|
};
|
|
141
141
|
Header: typeof import("./common").DefaultHeader;
|
|
@@ -151,10 +151,10 @@ declare namespace Authenticator {
|
|
|
151
151
|
fields: import("./hooks").TextFieldOptionsType[];
|
|
152
152
|
} & {
|
|
153
153
|
style?: import("./Defaults/types").SignUpStyle | undefined;
|
|
154
|
-
}):
|
|
154
|
+
}): JSX.Element;
|
|
155
155
|
Footer: typeof import("./common").DefaultFooter;
|
|
156
156
|
FormFields: {
|
|
157
|
-
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("./common/DefaultFormFields/types").DefaultTextFormFieldsProps):
|
|
157
|
+
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("./common/DefaultFormFields/types").DefaultTextFormFieldsProps): JSX.Element;
|
|
158
158
|
displayName: string;
|
|
159
159
|
};
|
|
160
160
|
Header: typeof import("./common").DefaultHeader;
|
|
@@ -167,10 +167,10 @@ declare namespace Authenticator {
|
|
|
167
167
|
fields: import("./hooks").RadioFieldOptions[];
|
|
168
168
|
} & {
|
|
169
169
|
style?: import("./Defaults/types").VerifyUserStyle | undefined;
|
|
170
|
-
}):
|
|
170
|
+
}): JSX.Element;
|
|
171
171
|
Footer: typeof import("./common").DefaultFooter;
|
|
172
172
|
FormFields: {
|
|
173
|
-
({ fields, fieldContainerStyle, fieldLabelStyle, isPending, style, }: import("./common/DefaultFormFields/types").DefaultRadioFormFieldsProps):
|
|
173
|
+
({ fields, fieldContainerStyle, fieldLabelStyle, isPending, style, }: import("./common/DefaultFormFields/types").DefaultRadioFormFieldsProps): JSX.Element;
|
|
174
174
|
displayName: string;
|
|
175
175
|
};
|
|
176
176
|
Header: typeof import("./common").DefaultHeader;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { DefaultFooter, DefaultHeader } from '../../common';
|
|
3
3
|
import { DefaultConfirmResetPasswordProps } from '../types';
|
|
4
4
|
declare const ConfirmResetPassword: {
|
|
5
|
-
({ fields, handleBlur, handleChange, handleSubmit, hasValidationErrors, isPending, resendCode, validationErrors, ...rest }: DefaultConfirmResetPasswordProps):
|
|
5
|
+
({ fields, handleBlur, handleChange, handleSubmit, hasValidationErrors, isPending, resendCode, validationErrors, ...rest }: DefaultConfirmResetPasswordProps): JSX.Element;
|
|
6
6
|
Footer: typeof DefaultFooter;
|
|
7
7
|
FormFields: {
|
|
8
|
-
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("../../common/DefaultFormFields/types").DefaultTextFormFieldsProps):
|
|
8
|
+
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("../../common/DefaultFormFields/types").DefaultTextFormFieldsProps): JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
11
|
Header: typeof DefaultHeader;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { DefaultFooter, DefaultHeader } from '../../common';
|
|
3
3
|
import { DefaultConfirmSignInProps } from '../types';
|
|
4
4
|
declare const ConfirmSignIn: {
|
|
5
|
-
({ challengeName, fields, handleBlur, handleChange, handleSubmit, isPending, toSignIn, validationErrors, ...rest }: DefaultConfirmSignInProps):
|
|
5
|
+
({ challengeName, fields, handleBlur, handleChange, handleSubmit, isPending, toSignIn, validationErrors, ...rest }: DefaultConfirmSignInProps): JSX.Element;
|
|
6
6
|
Footer: typeof DefaultFooter;
|
|
7
7
|
FormFields: {
|
|
8
|
-
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("../../common/DefaultFormFields/types").DefaultTextFormFieldsProps):
|
|
8
|
+
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("../../common/DefaultFormFields/types").DefaultTextFormFieldsProps): JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
11
|
Header: typeof DefaultHeader;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { DefaultFooter, DefaultHeader } from '../../common';
|
|
3
3
|
import { DefaultConfirmSignUpProps } from '../types';
|
|
4
4
|
declare const ConfirmSignUp: {
|
|
5
|
-
({ codeDeliveryDetails, fields, handleBlur, handleChange, handleSubmit, isPending, resendCode, validationErrors, ...rest }: DefaultConfirmSignUpProps):
|
|
5
|
+
({ codeDeliveryDetails, fields, handleBlur, handleChange, handleSubmit, isPending, resendCode, validationErrors, ...rest }: DefaultConfirmSignUpProps): JSX.Element;
|
|
6
6
|
FormFields: {
|
|
7
|
-
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("../../common/DefaultFormFields/types").DefaultTextFormFieldsProps):
|
|
7
|
+
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("../../common/DefaultFormFields/types").DefaultTextFormFieldsProps): JSX.Element;
|
|
8
8
|
displayName: string;
|
|
9
9
|
};
|
|
10
10
|
Footer: typeof DefaultFooter;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { DefaultFooter, DefaultHeader } from '../../common';
|
|
3
3
|
import { DefaultConfirmVerifyUserProps } from '../types';
|
|
4
4
|
declare const ConfirmVerifyUser: {
|
|
5
|
-
({ fields, handleBlur, handleChange, handleSubmit, isPending, skipVerification, validationErrors, ...rest }: DefaultConfirmVerifyUserProps):
|
|
5
|
+
({ fields, handleBlur, handleChange, handleSubmit, isPending, skipVerification, validationErrors, ...rest }: DefaultConfirmVerifyUserProps): JSX.Element;
|
|
6
6
|
Footer: typeof DefaultFooter;
|
|
7
7
|
FormFields: {
|
|
8
|
-
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("../../common/DefaultFormFields/types").DefaultTextFormFieldsProps):
|
|
8
|
+
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("../../common/DefaultFormFields/types").DefaultTextFormFieldsProps): JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
11
|
Header: typeof DefaultHeader;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { DefaultFooter, DefaultHeader } from '../../common';
|
|
3
3
|
import { DefaultForceNewPasswordProps } from '../types';
|
|
4
4
|
declare const ForceNewPassword: {
|
|
5
|
-
({ fields, handleBlur, handleChange, handleSubmit, hasValidationErrors, isPending, toSignIn, validationErrors, ...rest }: DefaultForceNewPasswordProps):
|
|
5
|
+
({ fields, handleBlur, handleChange, handleSubmit, hasValidationErrors, isPending, toSignIn, validationErrors, ...rest }: DefaultForceNewPasswordProps): JSX.Element;
|
|
6
6
|
Footer: typeof DefaultFooter;
|
|
7
7
|
FormFields: {
|
|
8
|
-
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("../../common/DefaultFormFields/types").DefaultTextFormFieldsProps):
|
|
8
|
+
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("../../common/DefaultFormFields/types").DefaultTextFormFieldsProps): JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
11
|
Header: typeof DefaultHeader;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { DefaultFooter, DefaultHeader } from '../../common';
|
|
3
3
|
import { DefaultForgotPasswordProps } from '../types';
|
|
4
4
|
declare const ForgotPassword: {
|
|
5
|
-
({ fields, handleBlur, handleChange, handleSubmit, isPending, toSignIn, validationErrors, ...rest }: DefaultForgotPasswordProps):
|
|
5
|
+
({ fields, handleBlur, handleChange, handleSubmit, isPending, toSignIn, validationErrors, ...rest }: DefaultForgotPasswordProps): JSX.Element;
|
|
6
6
|
Footer: typeof DefaultFooter;
|
|
7
7
|
FormFields: {
|
|
8
|
-
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("../../common/DefaultFormFields/types").DefaultTextFormFieldsProps):
|
|
8
|
+
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("../../common/DefaultFormFields/types").DefaultTextFormFieldsProps): JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
11
|
Header: typeof DefaultHeader;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { DefaultFooter, DefaultHeader } from '../../common';
|
|
3
3
|
import { DefaultSetupTotpProps } from '../types';
|
|
4
4
|
declare const SetupTotp: {
|
|
5
|
-
({ fields, handleBlur, handleChange, handleSubmit, isPending, toSignIn, totpSecretCode, validationErrors, ...rest }: DefaultSetupTotpProps):
|
|
5
|
+
({ fields, handleBlur, handleChange, handleSubmit, isPending, toSignIn, totpSecretCode, validationErrors, ...rest }: DefaultSetupTotpProps): JSX.Element;
|
|
6
6
|
Footer: typeof DefaultFooter;
|
|
7
7
|
FormFields: {
|
|
8
|
-
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("../../common/DefaultFormFields/types").DefaultTextFormFieldsProps):
|
|
8
|
+
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("../../common/DefaultFormFields/types").DefaultTextFormFieldsProps): JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
11
|
Header: typeof DefaultHeader;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { DefaultFooter, DefaultHeader } from '../../common';
|
|
3
3
|
import { DefaultSignInProps } from '../types';
|
|
4
4
|
declare const SignIn: {
|
|
5
|
-
({ fields, handleBlur, handleChange, handleSubmit, hideSignUp, socialProviders, toFederatedSignIn, toForgotPassword, toSignUp, validationErrors, ...rest }: DefaultSignInProps):
|
|
5
|
+
({ fields, handleBlur, handleChange, handleSubmit, hideSignUp, socialProviders, toFederatedSignIn, toForgotPassword, toSignUp, validationErrors, ...rest }: DefaultSignInProps): JSX.Element;
|
|
6
6
|
Footer: typeof DefaultFooter;
|
|
7
7
|
FormFields: {
|
|
8
|
-
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("../../common/DefaultFormFields/types").DefaultTextFormFieldsProps):
|
|
8
|
+
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("../../common/DefaultFormFields/types").DefaultTextFormFieldsProps): JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
11
|
Header: typeof DefaultHeader;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { DefaultFooter, DefaultHeader } from '../../common';
|
|
3
3
|
import { DefaultSignUpProps } from '../types';
|
|
4
4
|
declare const SignUp: {
|
|
5
|
-
({ fields, handleBlur, handleChange, handleSubmit, hasValidationErrors, hideSignIn, isPending, socialProviders, toFederatedSignIn, toSignIn, validationErrors, ...rest }: DefaultSignUpProps):
|
|
5
|
+
({ fields, handleBlur, handleChange, handleSubmit, hasValidationErrors, hideSignIn, isPending, socialProviders, toFederatedSignIn, toSignIn, validationErrors, ...rest }: DefaultSignUpProps): JSX.Element;
|
|
6
6
|
Footer: typeof DefaultFooter;
|
|
7
7
|
FormFields: {
|
|
8
|
-
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("../../common/DefaultFormFields/types").DefaultTextFormFieldsProps):
|
|
8
|
+
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: import("../../common/DefaultFormFields/types").DefaultTextFormFieldsProps): JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
11
|
Header: typeof DefaultHeader;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { DefaultFooter, DefaultHeader } from '../../common';
|
|
3
3
|
import { DefaultVerifyUserProps } from '../types';
|
|
4
4
|
declare const VerifyUser: {
|
|
5
|
-
({ fields, handleBlur, handleChange, handleSubmit, skipVerification, validationErrors, ...rest }: DefaultVerifyUserProps):
|
|
5
|
+
({ fields, handleBlur, handleChange, handleSubmit, skipVerification, validationErrors, ...rest }: DefaultVerifyUserProps): JSX.Element;
|
|
6
6
|
Footer: typeof DefaultFooter;
|
|
7
7
|
FormFields: {
|
|
8
|
-
({ fields, fieldContainerStyle, fieldLabelStyle, isPending, style, }: import("../../common/DefaultFormFields/types").DefaultRadioFormFieldsProps):
|
|
8
|
+
({ fields, fieldContainerStyle, fieldLabelStyle, isPending, style, }: import("../../common/DefaultFormFields/types").DefaultRadioFormFieldsProps): JSX.Element;
|
|
9
9
|
displayName: string;
|
|
10
10
|
};
|
|
11
11
|
Header: typeof DefaultHeader;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { ContainerProps } from './types';
|
|
3
|
-
export default function DefaultContainer({ alwaysBounceVertical, behavior, children, keyboardAvoidingViewStyle, keyboardShouldPersistTaps, keyboardVerticalOffset, scrollViewContentContainerStyle, style, ...rest }: ContainerProps):
|
|
3
|
+
export default function DefaultContainer({ alwaysBounceVertical, behavior, children, keyboardAvoidingViewStyle, keyboardShouldPersistTaps, keyboardVerticalOffset, scrollViewContentContainerStyle, style, ...rest }: ContainerProps): JSX.Element | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { ContainerProps } from './types';
|
|
3
|
-
export default function InnerContainer({ children, ...rest }: ContainerProps):
|
|
3
|
+
export default function InnerContainer({ children, ...rest }: ContainerProps): JSX.Element | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { TextFieldOptionsType, RadioFieldOptions } from '../../hooks';
|
|
3
3
|
import { DefaultContentProps } from './types';
|
|
4
|
-
export default function DefaultContent<FieldsType extends TextFieldOptionsType | RadioFieldOptions>({ body, buttons: { primary, links, secondary }, error, fields, Footer, FormFields, isPending, Header, headerText, validationErrors, }: DefaultContentProps<FieldsType>):
|
|
4
|
+
export default function DefaultContent<FieldsType extends TextFieldOptionsType | RadioFieldOptions>({ body, buttons: { primary, links, secondary }, error, fields, Footer, FormFields, isPending, Header, headerText, validationErrors, }: DefaultContentProps<FieldsType>): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { DefaultFooterProps } from './types';
|
|
3
|
-
export default function DefaultFooter({ children, ...rest }: DefaultFooterProps):
|
|
3
|
+
export default function DefaultFooter({ children, ...rest }: DefaultFooterProps): JSX.Element | null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { DefaultRadioFormFieldsProps } from './types';
|
|
3
3
|
declare const DefaultRadioFormFields: {
|
|
4
|
-
({ fields, fieldContainerStyle, fieldLabelStyle, isPending, style, }: DefaultRadioFormFieldsProps):
|
|
4
|
+
({ fields, fieldContainerStyle, fieldLabelStyle, isPending, style, }: DefaultRadioFormFieldsProps): JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default DefaultRadioFormFields;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { DefaultTextFormFieldsProps } from './types';
|
|
3
3
|
declare const DefaultTextFormFields: {
|
|
4
|
-
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: DefaultTextFormFieldsProps):
|
|
4
|
+
({ fieldContainerStyle, fieldErrorsContainer, fieldErrorStyle, fieldStyle, fields, isPending, style, validationErrors, }: DefaultTextFormFieldsProps): JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default DefaultTextFormFields;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { FieldProps } from './types';
|
|
3
3
|
declare const Field: {
|
|
4
|
-
({ type, ...rest }: FieldProps):
|
|
4
|
+
({ type, ...rest }: FieldProps): JSX.Element;
|
|
5
5
|
displayName: string;
|
|
6
6
|
};
|
|
7
7
|
export default Field;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { FieldErrorsProps } from './types';
|
|
3
|
-
export declare const FieldErrors: ({ errors, errorStyle, style, }: FieldErrorsProps) =>
|
|
3
|
+
export declare const FieldErrors: ({ errors, errorStyle, style, }: FieldErrorsProps) => JSX.Element | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { DefaultHeaderProps } from './types';
|
|
3
|
-
export default function DefaultHeader({ children, level, ...rest }: DefaultHeaderProps):
|
|
3
|
+
export default function DefaultHeader({ children, level, ...rest }: DefaultHeaderProps): JSX.Element | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { FederatedProviderButtonProps } from './types';
|
|
3
|
-
export default function FederatedProviderButton({ children, source, style, textStyle, ...rest }: FederatedProviderButtonProps):
|
|
3
|
+
export default function FederatedProviderButton({ children, source, style, textStyle, ...rest }: FederatedProviderButtonProps): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { FederatedProviderButtonsProps } from './types';
|
|
3
|
-
export default function FederatedProviderButtons({ buttonStyle, dividerLabelStyle, route, socialProviders, style, toFederatedSignIn, }: FederatedProviderButtonsProps):
|
|
3
|
+
export default function FederatedProviderButtons({ buttonStyle, dividerLabelStyle, route, socialProviders, style, toFederatedSignIn, }: FederatedProviderButtonsProps): JSX.Element | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { WithAuthenticatorOptions } from './types';
|
|
3
|
-
export default function withAuthenticator<Props = {}>(Component: React.ComponentType<Props>, options?: WithAuthenticatorOptions): (props: Props) =>
|
|
3
|
+
export default function withAuthenticator<Props = {}>(Component: React.ComponentType<Props>, options?: WithAuthenticatorOptions): (props: Props) => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { BannerMessageProps } from './types';
|
|
3
|
-
export default function BannerMessage({ position, ...props }: BannerMessageProps):
|
|
3
|
+
export default function BannerMessage({ position, ...props }: BannerMessageProps): JSX.Element | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { CarouselMessageProps } from './types';
|
|
3
|
-
export default function CarouselMessage(props: CarouselMessageProps):
|
|
3
|
+
export default function CarouselMessage(props: CarouselMessageProps): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { CarouselMessageItemProps } from './types';
|
|
3
|
-
export default function CarouselMessageItem(props: CarouselMessageItemProps):
|
|
3
|
+
export default function CarouselMessageItem(props: CarouselMessageItemProps): JSX.Element | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { FullScreenMessageProps } from './types';
|
|
3
|
-
export default function FullScreenMessage(props: FullScreenMessageProps):
|
|
3
|
+
export default function FullScreenMessage(props: FullScreenMessageProps): JSX.Element | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { InAppMessageDisplayProps } from './types';
|
|
3
|
-
declare function InAppMessageDisplay({ components: overrideComponents, }: InAppMessageDisplayProps):
|
|
3
|
+
declare function InAppMessageDisplay({ components: overrideComponents, }: InAppMessageDisplayProps): JSX.Element | null;
|
|
4
4
|
declare namespace InAppMessageDisplay {
|
|
5
5
|
var BannerMessage: typeof import("../BannerMessage").BannerMessage;
|
|
6
6
|
var CarouselMessage: typeof import("../CarouselMessage").CarouselMessage;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { LayoutProps } from './types';
|
|
3
|
-
export default function MessageLayout({ orientation, ...props }: LayoutProps):
|
|
3
|
+
export default function MessageLayout({ orientation, ...props }: LayoutProps): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { MessageWrapperProps } from './types';
|
|
3
|
-
export default function MessageWrapper({ children, disableSafeAreaView, style, }: MessageWrapperProps):
|
|
3
|
+
export default function MessageWrapper({ children, disableSafeAreaView, style, }: MessageWrapperProps): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { ModalMessageProps } from './types';
|
|
3
|
-
export default function ModalMessage(props: ModalMessageProps):
|
|
3
|
+
export default function ModalMessage(props: ModalMessageProps): JSX.Element | null;
|
|
@@ -2,4 +2,4 @@ import React from 'react';
|
|
|
2
2
|
import { MessageComponents } from '../InAppMessageDisplay';
|
|
3
3
|
export default function withInAppMessaging<Props = {}>(Component: React.ComponentType<Props>, options?: {
|
|
4
4
|
components?: MessageComponents;
|
|
5
|
-
}): (props: Props) =>
|
|
5
|
+
}): (props: Props) => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { ButtonProps } from './types';
|
|
3
|
-
export default function Button({ accessibilityRole, children, disabled, style, textStyle, variant, ...rest }: ButtonProps):
|
|
3
|
+
export default function Button({ accessibilityRole, children, disabled, style, textStyle, variant, ...rest }: ButtonProps): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { CarouselProps } from './types';
|
|
3
|
-
export default function Carousel<T>(props: CarouselProps<T>):
|
|
3
|
+
export default function Carousel<T>(props: CarouselProps<T>): JSX.Element | null;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { CarouselPageIndicatorProps } from './types';
|
|
3
|
-
export default function CarouselPageIndicator({ activeStyle, currentIndex, inactiveStyle, indicatorTestId, numberOfItems, style, }: CarouselPageIndicatorProps):
|
|
3
|
+
export default function CarouselPageIndicator({ activeStyle, currentIndex, inactiveStyle, indicatorTestId, numberOfItems, style, }: CarouselPageIndicatorProps): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { CheckboxProps } from './types';
|
|
3
|
-
export default function Checkbox<T>({ accessibilityRole, iconStyle, disabled, label, labelPosition, labelStyle, onChange, selected, size, style, value, ...rest }: CheckboxProps<T>):
|
|
3
|
+
export default function Checkbox<T>({ accessibilityRole, iconStyle, disabled, label, labelPosition, labelStyle, onChange, selected, size, style, value, ...rest }: CheckboxProps<T>): JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { DividerProps } from './types';
|
|
3
3
|
export declare const DIVIDER_LINE_TEST_ID = "amplify__divider__line";
|
|
4
|
-
export default function Divider({ children, labelStyle, lineStyle, style, }: DividerProps):
|
|
4
|
+
export default function Divider({ children, labelStyle, lineStyle, style, }: DividerProps): JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { ErrorMessageProps } from './types';
|
|
3
3
|
export declare const CLOSE_BUTTON_TEST_ID = "authenticator--error-message--close-button";
|
|
4
|
-
export default function ErrorMessage({ accessible, accessibilityRole, children, iconStyle, labelStyle, onDismiss, style, ...rest }: ErrorMessageProps):
|
|
4
|
+
export default function ErrorMessage({ accessible, accessibilityRole, children, iconStyle, labelStyle, onDismiss, style, ...rest }: ErrorMessageProps): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { HeadingProps } from './types';
|
|
3
|
-
export default function Heading({ accessibilityRole, children, level, style, ...rest }: HeadingProps):
|
|
3
|
+
export default function Heading({ accessibilityRole, children, level, style, ...rest }: HeadingProps): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { IconProps } from './types';
|
|
3
|
-
export default function Icon({ accessible, accessibilityRole, animated, color, size, style, ...rest }: IconProps):
|
|
3
|
+
export default function Icon({ accessible, accessibilityRole, animated, color, size, style, ...rest }: IconProps): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { IconButtonProps } from './types';
|
|
3
|
-
export default function IconButton({ accessibilityRole, color, disabled, iconStyle, size, source, style, ...rest }: IconButtonProps):
|
|
3
|
+
export default function IconButton({ accessibilityRole, color, disabled, iconStyle, size, source, style, ...rest }: IconButtonProps): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { LabelProps } from './types';
|
|
3
|
-
export default function Label({ accessibilityRole, children, style, variant, ...rest }: LabelProps):
|
|
3
|
+
export default function Label({ accessibilityRole, children, style, variant, ...rest }: LabelProps): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { PasswordFieldProps } from './types';
|
|
3
|
-
export default function PasswordField({ disabled, iconAccessibilityLabel, iconStyle, secureTextEntry, showPasswordButton, style, ...rest }: PasswordFieldProps):
|
|
3
|
+
export default function PasswordField({ disabled, iconAccessibilityLabel, iconStyle, secureTextEntry, showPasswordButton, style, ...rest }: PasswordFieldProps): JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { PhoneNumberFieldProps } from './types';
|
|
3
|
-
export default function PhoneNumberField({ disabled, fieldStyle, labelStyle, style, ...rest }: PhoneNumberFieldProps):
|
|
3
|
+
export default function PhoneNumberField({ disabled, fieldStyle, labelStyle, style, ...rest }: PhoneNumberFieldProps): JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { RadioProps } from './types';
|
|
3
3
|
export declare const CONTAINER_TEST_ID = "amplify__radio-button__container";
|
|
4
4
|
export declare const DOT_TEST_ID = "amplify__radio-button__dot";
|
|
5
|
-
export default function Radio<T>({ accessibilityRole, disabled, label, labelPosition, labelStyle, onChange, onPress, radioContainerStyle, radioDotStyle, selected, size, style, value, ...rest }: RadioProps<T>):
|
|
5
|
+
export default function Radio<T>({ accessibilityRole, disabled, label, labelPosition, labelStyle, onChange, onPress, radioContainerStyle, radioDotStyle, selected, size, style, value, ...rest }: RadioProps<T>): JSX.Element;
|