diff --git a/docs/text.md b/docs/text.md index df60308a436..56d3ce99025 100644 --- a/docs/text.md +++ b/docs/text.md @@ -417,6 +417,16 @@ This can be one of the following values: --- +### `id` + +Used to locate this view from native code. Has precedence over `nativeID` prop. + +| Type | +| ------ | +| string | + +--- + ### `maxFontSizeMultiplier` Specifies the largest possible scale a font can reach when `allowFontScaling` is enabled. Possible values: diff --git a/docs/touchablewithoutfeedback.md b/docs/touchablewithoutfeedback.md index bcfa47f331a..09bb202708b 100644 --- a/docs/touchablewithoutfeedback.md +++ b/docs/touchablewithoutfeedback.md @@ -269,6 +269,16 @@ This defines how far your touch can start away from the button. This is added to | ---------------------- | | [Rect](rect) or number | +### `id` + +Used to locate this view from native code. Has precedence over `nativeID` prop. + +| Type | +| ------ | +| string | + +--- + ### `onBlur` Invoked when the item loses focus. diff --git a/docs/view.md b/docs/view.md index 687058cb68f..ce19a001cf4 100644 --- a/docs/view.md +++ b/docs/view.md @@ -282,6 +282,18 @@ For example, if a touchable view has a height of 20 the touchable height can be --- +### `id` + +Used to locate this view from native classes. Has precedence over `nativeID` prop. + +> This disables the 'layout-only view removal' optimization for this view! + +| Type | +| ------ | +| string | + +--- + ### `importantForAccessibility`