From be97f863f040390410f692dbe6a284e32cb884dd Mon Sep 17 00:00:00 2001 From: Alexaner T Date: Fri, 7 Dec 2018 16:20:48 +0200 Subject: [PATCH] Add invertStickyHeaders prop to ScrollView --- types/react-native/index.d.ts | 6 ++++++ types/react-native/test/index.tsx | 1 + 2 files changed, 7 insertions(+) diff --git a/types/react-native/index.d.ts b/types/react-native/index.d.ts index 24e4aee9dc..ae3127bc1d 100644 --- a/types/react-native/index.d.ts +++ b/types/react-native/index.d.ts @@ -6337,6 +6337,12 @@ export interface ScrollViewProps */ horizontal?: boolean; + /** + * If sticky headers should stick at the bottom instead of the top of the + * ScrollView. This is usually used with inverted ScrollViews. + */ + invertStickyHeaders?: boolean; + /** * Determines whether the keyboard gets dismissed in response to a drag. * - 'none' (the default) drags do not dismiss the keyboard. diff --git a/types/react-native/test/index.tsx b/types/react-native/test/index.tsx index b5d7a5faeb..79c5a111ca 100644 --- a/types/react-native/test/index.tsx +++ b/types/react-native/test/index.tsx @@ -430,6 +430,7 @@ class ScrollerListComponentTest extends React.Component<