Add invertStickyHeaders prop to ScrollView

This commit is contained in:
Alexaner T
2018-12-07 16:20:48 +02:00
parent a5cac1fda5
commit be97f863f0
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -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.
+1
View File
@@ -430,6 +430,7 @@ class ScrollerListComponentTest extends React.Component<
<ScrollView
horizontal={true}
nestedScrollEnabled={true}
invertStickyHeaders={true}
contentOffset={{ x: 0, y: 0 }}
{...props}
style={[