Fix List onMomentumScrollEnd (#3759)
This commit is contained in:
parent
28fc98d942
commit
42966fb49e
2 changed files with 43 additions and 33 deletions
|
@ -13,7 +13,11 @@ import {FlatList_INTERNAL} from './Views'
|
|||
export type ListMethods = FlatList_INTERNAL
|
||||
export type ListProps<ItemT> = Omit<
|
||||
FlatListProps<ItemT>,
|
||||
| 'onMomentumScrollBegin' // Use ScrollContext instead.
|
||||
| 'onMomentumScrollEnd' // Use ScrollContext instead.
|
||||
| 'onScroll' // Use ScrollContext instead.
|
||||
| 'onScrollBeginDrag' // Use ScrollContext instead.
|
||||
| 'onScrollEndDrag' // Use ScrollContext instead.
|
||||
| 'refreshControl' // Pass refreshing and/or onRefresh instead.
|
||||
| 'contentOffset' // Pass headerOffset instead.
|
||||
> & {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue