From 7d7f4831fd33c0f889f60cc05c6862171f136056 Mon Sep 17 00:00:00 2001 From: Gabriel Donadel Dall'Agnol Date: Tue, 6 Sep 2022 09:35:28 -0300 Subject: [PATCH] View: Add tabIndex prop (#3286) Co-authored-by: Bartosz Kaszubowski --- docs/view.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/view.md b/docs/view.md index 1d8462bdb0f..6be5e2864ac 100644 --- a/docs/view.md +++ b/docs/view.md @@ -610,6 +610,20 @@ Rasterization incurs an off-screen drawing pass and the bitmap consumes memory. --- +### `tabIndex`
Android
+ +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.