@@ -16,7 +16,7 @@ import type {
1616 View ,
1717 VirtualizedListProps ,
1818} from 'react-native' ;
19- import type Animated from 'react-native-reanimated' ;
19+ import type { AnimatedProps } from 'react-native-reanimated' ;
2020import type { ScrollEventsHandlersHookType } from '../../types' ;
2121
2222export interface BottomSheetScrollableProps {
@@ -56,7 +56,7 @@ export type ScrollableProps<T> =
5656
5757//#region FlatList
5858export type BottomSheetFlatListProps < T > = Omit <
59- Animated . AnimateProps < FlatListProps < T > > ,
59+ AnimatedProps < FlatListProps < T > > ,
6060 'decelerationRate' | 'onScroll' | 'scrollEventThrottle'
6161> &
6262 BottomSheetScrollableProps & {
@@ -136,7 +136,7 @@ export interface BottomSheetFlatListMethods {
136136
137137//#region ScrollView
138138export type BottomSheetScrollViewProps = Omit <
139- Animated . AnimateProps < ScrollViewProps > ,
139+ AnimatedProps < ScrollViewProps > ,
140140 'decelerationRate' | 'scrollEventThrottle'
141141> &
142142 BottomSheetScrollableProps & {
@@ -202,7 +202,7 @@ export interface BottomSheetScrollViewMethods {
202202
203203//#region SectionList
204204export type BottomSheetSectionListProps < ItemT , SectionT > = Omit <
205- Animated . AnimateProps < SectionListProps < ItemT , SectionT > > ,
205+ AnimatedProps < SectionListProps < ItemT , SectionT > > ,
206206 'decelerationRate' | 'scrollEventThrottle'
207207> &
208208 BottomSheetScrollableProps & {
@@ -245,7 +245,7 @@ export interface BottomSheetSectionListMethods {
245245
246246//#region
247247export type BottomSheetVirtualizedListProps < T > = Omit <
248- Animated . AnimateProps < VirtualizedListProps < T > > ,
248+ AnimatedProps < VirtualizedListProps < T > > ,
249249 'decelerationRate' | 'scrollEventThrottle'
250250> &
251251 BottomSheetScrollableProps & {
0 commit comments