-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add tabIndex prop to View component (#34486)
Summary: This adds the `tabIndex` Android only prop to View as requested on #34424 mapping the existing `focusable` prop to `tabIndex` so that `tabIndex={0}` maps to `focusable={true}` and `tabIndex={-1}` represents ` focusable={false}`. ## Changelog [Android] [Added] - Add tabIndex prop to View component Pull Request resolved: #34486 Test Plan: I'm still investigating the best way to test this but we're are just mapping this to an existing prop Reviewed By: GijsWeterings Differential Revision: D38957303 Pulled By: necolas fbshipit-source-id: d00db854e11cb3457329c1547b69cff60afb34cf
- Loading branch information
1 parent
4d642a2
commit 621f4cf
Showing
2 changed files
with
26 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters