mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 19:51:53 +00:00
Add invertStickyHeaders prop to ScrollView
This commit is contained in:
Vendored
+6
@@ -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.
|
||||
|
||||
@@ -430,6 +430,7 @@ class ScrollerListComponentTest extends React.Component<
|
||||
<ScrollView
|
||||
horizontal={true}
|
||||
nestedScrollEnabled={true}
|
||||
invertStickyHeaders={true}
|
||||
contentOffset={{ x: 0, y: 0 }}
|
||||
{...props}
|
||||
style={[
|
||||
|
||||
Reference in New Issue
Block a user