Skip to content

Commit

Permalink
Expose Hub constants and component interfaces (#5471)
Browse files Browse the repository at this point in the history
* Expose Hub constants

* Expose other component types

* Remove breaking types

* Correctly remove types

Co-authored-by: Ashika <35131273+ashika01@users.noreply.github.com>
Co-authored-by: Francisco Rodriguez <elorzafe@amazon.com>
  • Loading branch information
3 people committed Apr 24, 2020
1 parent d6fcb6a commit 578cb73
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
Expand Up @@ -9,8 +9,6 @@ export interface AmplifySignUpAttributes {
username: string;
password: string;
attributes?: {
email?: string;
phone_number?: string;
[userAttributes: string]: string;
};
}
10 changes: 9 additions & 1 deletion packages/amplify-ui-components/src/index.ts
@@ -1,3 +1,11 @@
export { AuthState } from './common/types/auth-types';
export { Translations } from './common/Translations';
export * from './components';
export { AUTH_CHANNEL, UI_AUTH_CHANNEL, TOAST_AUTH_ERROR_EVENT, AUTH_STATE_CHANGE_EVENT } from './common/constants';
export * from './components';
export * from './components/amplify-auth-fields/amplify-auth-fields-interface';
export * from './components/amplify-forgot-password/amplify-forgot-password-interface';
export * from './components/amplify-sign-in/amplify-sign-in-interface';
export * from './components/amplify-sign-up/amplify-sign-up-interface';
export * from './components/amplify-country-dial-code/amplify-country-dial-code-interface';
export * from './components/amplify-select/amplify-select-interface';
export * from './components/amplify-totp-setup/amplify-totp-setup-interface';

0 comments on commit 578cb73

Please sign in to comment.