Skip to content

Commit

Permalink
View: Add tabIndex prop (facebook#3286)
Browse files Browse the repository at this point in the history
Co-authored-by: Bartosz Kaszubowski <gosimek@gmail.com>
  • Loading branch information
gabrieldonadel and Simek authored Sep 6, 2022
1 parent 9422060 commit 7d7f483
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/view.md
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,20 @@ Rasterization incurs an off-screen drawing pass and the bitmap consumes memory.

---

### `tabIndex` <div class="label android">Android</div>

Whether this `View` should be focusable with a non-touch input device, eg. receive focus with a hardware keyboard.
Supports the following values:

- `0` - View is focusable
- `-1` - View is not focusable

| Type |
| ----------- |
| enum(0, -1) |

---

### `testID`

Used to locate this view in end-to-end tests.
Expand Down

0 comments on commit 7d7f483

Please sign in to comment.