Skip to content

Commit

Permalink
Fix failure is caused by the missing prop type accessibilityCollectio…
Browse files Browse the repository at this point in the history
  • Loading branch information
fabOnReact committed Mar 14, 2022
1 parent 7514735 commit fb30b84
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions Libraries/Components/View/ViewPropTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,22 @@ export type ViewProps = $ReadOnly<{|
*/
accessibilityActions?: ?$ReadOnlyArray<AccessibilityActionInfo>,

/**
* Prop used internally to announce with TalkBack rows and columns of a FlatList
* See https://bit.ly/3viYSh8
*
* @platform android
*
*/
accessibilityCollectionItem?: ?{
rowIndex: number,
rowSpan: number,
columnIndex: number,
columnSpan: number,
heading: boolean,
itemIndex: number,
},

/**
* Specifies the nativeID of the associated label text. When the assistive technology focuses on the component with this props, the text is read aloud.
*
Expand Down

0 comments on commit fb30b84

Please sign in to comment.