Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fixed types props tabIndex in view and userSelect in text (#41312)
Summary: zfrankdesign reported that in RN 0.72.6, they receive warnings that some new props listed in the documents are missing: View tabIndex https://reactnative.dev/docs/view#tabindex-android and Text userSelect https://reactnative.dev/docs/text#userselect. It seems the components accept these props but they were not typed. ## Changelog: [GENERAL] [FIXED] - Missing typings for the props `tabIndex` for **View** and `userSelect` in the **Text** props were added. Pull Request resolved: #41312 Test Plan: 1. Instantiate a component of type View 1.1. Should add the property tabIndex to the View component. 1.2. Should not see a warning about the missing tabIndex property. 2. Instantiate a component of type Text 2.1. Should add the property userSelect to the Text component. 2.2. Should not see a warning about the missing userSelect property. Reviewed By: NickGerleman Differential Revision: D50982156 Pulled By: lunaleaps fbshipit-source-id: 75b55cfb897738be0cf426912a7c10c7412d5032
- Loading branch information