Skip to content

Commit

Permalink
Event handler props on input component should be non-optional
Browse files Browse the repository at this point in the history
  • Loading branch information
amitbadala committed Nov 26, 2023
1 parent 1baf355 commit 16522df
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 13 deletions.
6 changes: 3 additions & 3 deletions lib/build/recipe/emailpassword/components/library/input.d.ts

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

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

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

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

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

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

6 changes: 3 additions & 3 deletions lib/ts/recipe/emailpassword/components/library/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ export type InputProps = {
hasError: boolean;
placeholder: string;
value: string;
onInputBlur?: (value: string) => void;
onInputFocus?: (value: string) => void;
onChange?: (value: string) => void;
onInputBlur: (value: string) => void;
onInputFocus: (value: string) => void;
onChange: (value: string) => void;
};

const Input: React.FC<InputProps> = ({
Expand Down

0 comments on commit 16522df

Please sign in to comment.