diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 83266b6383..0ad2e8279f 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -3843,6 +3843,19 @@ export interface SectionListProps extends ScrollViewProps { */ initialNumToRender?: number; + /** + * Called once when the scroll position gets within onEndReachedThreshold of the rendered content. + */ + onEndReached?: ((info: { distanceFromEnd: number }) => void) | null; + + /** + * How far from the end (in units of visible length of the list) the bottom edge of the + * list must be from the end of the content to trigger the `onEndReached` callback. + * Thus a value of 0.5 will trigger `onEndReached` when the end of the content is + * within half the visible length of the list. + */ + onEndReachedThreshold?: number | null; + /** * Used to extract a unique key for a given item at the specified index. Key is used for caching * and as the react key to track item re-ordering. The default extractor checks `item.key`, then