From 2e4dae24232faa75c1d2f329e101d2c0b4fa782b Mon Sep 17 00:00:00 2001 From: Dimitar Nestorov Date: Wed, 18 Jan 2023 20:43:52 +0200 Subject: [PATCH] Add `accessibilityLabelledBy` TypeScript type --- Libraries/Components/View/ViewAccessibility.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Libraries/Components/View/ViewAccessibility.d.ts b/Libraries/Components/View/ViewAccessibility.d.ts index c68c758410c889..e60163d42a15a0 100644 --- a/Libraries/Components/View/ViewAccessibility.d.ts +++ b/Libraries/Components/View/ViewAccessibility.d.ts @@ -251,6 +251,12 @@ export interface AccessibilityPropsAndroid { | 'no' | 'no-hide-descendants' | undefined; + + /** + * A reference to another element `nativeID` used to build complex forms. The value of `accessibilityLabelledBy` should match the `nativeID` of the related element. + * @platform android + */ + accessibilityLabelledBy?: string | string[] | undefined; } export interface AccessibilityPropsIOS {