Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import {
import {RefreshControlProps} from '../RefreshControl/RefreshControl';
import {Touchable} from '../Touchable/Touchable';
import {ViewProps} from '../View/ViewPropTypes';
import {View} from '../View/View';

// See https://reactnative.dev/docs/scrollview#contentoffset
export interface PointProp {
Expand Down Expand Up @@ -608,6 +609,19 @@ export interface ScrollViewProps
*/
contentContainerStyle?: StyleProp<ViewStyle> | undefined;

/**
* A ref to the inner View element of the ScrollView. This should be used
* instead of calling `getInnerViewRef`.
*/
innerViewRef?: React.RefObject<View> | undefined;

/**
* A ref to the Native ScrollView component. This ref can be used to call
* all of ScrollView's public methods, in addition to native methods like
* measure, measureLayout, etc.
*/
scrollViewRef?: React.RefObject<ScrollView> | undefined;

/**
* A floating-point number that determines how quickly the scroll view
* decelerates after the user lifts their finger. You may also use string
Expand Down
Loading