react-native
react-native copied to clipboard
add rows props to TextInput.d.ts
Summary:
I am currently building a mobile app and upgrade to react-native 0.73. I was annoyed when my IDE kept signaling errors that certain props are not valid on TextInputProps when extended on interfaces I'm using. I just want to add a few of the props that already exist in the js file for TextInput but are missing in the ts file leading to annoying IDE warnings/errors.
Changelog:
[ANDROID] [ADDED] - just added rows to the TextInput.d.ts so that when passing props IDE's will not be confused.
Test Plan:
Nothing is breaking. Simple add to props on the typescript file of what is already declared and used in the TextInput.js file.
Hi @ashaller2017!
Thank you for your pull request and welcome to our community.
Action Required
In order to merge any pull request (code, docs, etc.), we require contributors to sign our Contributor License Agreement, and we don't seem to have one on file for you.
Process
In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.
Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed
. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.
If you have received this in error or have any questions, please contact us at [email protected]. Thanks!
Warnings | |
---|---|
:warning: |
Can't find the E2E test log for ci/circleci: test_e2e_ios. Job link |
:warning: |
Can't find the E2E test log for ci/circleci: test_e2e_ios. Job link |
:warning: |
Can't find the E2E test log for ci/circleci: test_e2e_ios. Job link |
Generated by :no_entry_sign: dangerJS against 24dbf53ac88b6f769511e83498a31335a00dffb6
Platform | Engine | Arch | Size (bytes) | Diff |
---|---|---|---|---|
android | hermes | arm64-v8a | 8,500,332 | -9,381,217 |
android | hermes | armeabi-v7a | n/a | -- |
android | hermes | x86 | n/a | -- |
android | hermes | x86_64 | n/a | -- |
android | jsc | arm64-v8a | 9,754,914 | -11,485,117 |
android | jsc | armeabi-v7a | n/a | -- |
android | jsc | x86 | n/a | -- |
android | jsc | x86_64 | n/a | -- |
Base commit: 8ff05b5a18db85ab699323d1745a5f17cdc8bf6c Branch: main
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!
This PR is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.