supertokens / supertokens-auth-react

ReactJS authentication module for SuperTokens
https://supertokens.com
Other
276 stars 84 forks source link

Event handler props on input component should be non-optional #768

Closed amitbadala closed 10 months ago

amitbadala commented 10 months ago

Summary of change

Event handlers for InputComponent

 onInputBlur: (value: string) => void;
 onInputFocus: (value: string) => void;
  onChange: (value: string) => void;

Should not be optional

Related issues

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!)

Documentation changes

(If relevant, please create a PR in our docs repo, or create a checklist here highlighting the necessary changes)

Checklist for important updates

Remaining TODOs for this PR

github-actions[bot] commented 10 months ago

size-limit report 📦

Path Size
lib/build/index.js 14.19 KB (0%)
recipe/session/index.js 15.15 KB (0%)
recipe/session/prebuiltui.js 17.77 KB (0%)
recipe/thirdpartyemailpassword/index.js 29.71 KB (0%)
recipe/thirdparty/index.js 26.43 KB (0%)
recipe/emailpassword/index.js 10.01 KB (0%)
recipe/emailverification/index.js 7.26 KB (0%)
recipe/passwordless/index.js 63.47 KB (0%)
recipe/thirdpartypasswordless/index.js 84.2 KB (0%)
recipe/emailverification/prebuiltui.js 22.46 KB (0%)
recipe/thirdpartyemailpassword/prebuiltui.js 54.09 KB (0%)
recipe/thirdparty/prebuiltui.js 38.51 KB (0%)
recipe/emailpassword/prebuiltui.js 27.82 KB (0%)
recipe/passwordless/prebuiltui.js 103.03 KB (0%)
recipe/thirdpartypasswordless/prebuiltui.js 130.65 KB (0%)
recipe/multitenancy/index.js 6.12 KB (0%)