Skip to content

Commit

Permalink
Minor cleanup of types
Browse files Browse the repository at this point in the history
  • Loading branch information
amitbadala committed Oct 25, 2023
1 parent fb99461 commit 42cba3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
7 changes: 3 additions & 4 deletions lib/build/recipe/emailpassword/types.d.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 1 addition & 8 deletions lib/ts/recipe/emailpassword/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export type SignUpFormFeatureUserInput = FeatureBaseConfig & {
/*
* Form fields for SignUp.
*/
formFields?: FormFieldSignUpConfig[];
formFields?: (FormField & { inputComponent?: React.FC<InputProps> })[];

/*
* Privacy policy link for sign up form.
Expand Down Expand Up @@ -181,13 +181,6 @@ export type NormalisedSignInFormFeatureConfig = NormalisedBaseConfig & {

export type FormFieldSignInConfig = FormFieldBaseConfig;

export type FormFieldSignUpConfig = FormField & {
/*
* Ability to add custom components
*/
inputComponent?: React.FC<InputProps>;
};

export type ResetPasswordUsingTokenUserInput = {
/*
* Disable default implementation with default routes.
Expand Down

0 comments on commit 42cba3f

Please sign in to comment.