Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/components/bottomSheetDebugView/ReText.webx.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React, { useRef } from 'react';
import { type TextProps as RNTextProps, TextInput } from 'react-native';
import Animated, {
type AnimatedProps,
type SharedValue,
useAnimatedReaction,
useDerivedValue,
Expand All @@ -9,7 +10,7 @@ import Animated, {
interface TextProps {
text: string;
value: SharedValue<number | boolean> | number;
style?: Animated.AnimateProps<RNTextProps>['style'];
style?: AnimatedProps<RNTextProps>['style'];
}

const AnimatedTextInput = Animated.createAnimatedComponent(TextInput);
Expand Down
2 changes: 1 addition & 1 deletion src/components/bottomSheetHandle/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type React from 'react';
import type { View, ViewProps } from 'react-native';
import type { PanGestureHandlerProperties } from 'react-native-gesture-handler';
import type { AnimateProps, SharedValue } from 'react-native-reanimated';
import type { AnimatedProps, SharedValue } from 'react-native-reanimated';
import type { useInteractivePanGestureHandlerConfigs } from '../../hooks/useGestureHandler';
import type {
BottomSheetVariables,
Expand Down
4 changes: 2 additions & 2 deletions src/components/bottomSheetScrollable/BottomSheetFlashList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import type { FlashListProps } from '@shopify/flash-list';
import React, { forwardRef, memo, type Ref, useMemo } from 'react';
import type { ScrollViewProps } from 'react-native';
import type Animated from 'react-native-reanimated';
import type { AnimatedProps } from 'react-native-reanimated';
import BottomSheetScrollView from './BottomSheetScrollView';
import type {
BottomSheetScrollViewMethods,
Expand All @@ -19,7 +19,7 @@ try {
} catch (_) {}

export type BottomSheetFlashListProps<T> = Omit<
Animated.AnimateProps<FlashListProps<T>>,
AnimatedProps<FlashListProps<T>>,
'decelerationRate' | 'onScroll' | 'scrollEventThrottle'
> &
BottomSheetScrollableProps & {
Expand Down
10 changes: 5 additions & 5 deletions src/components/bottomSheetScrollable/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import type {
View,
VirtualizedListProps,
} from 'react-native';
import type Animated from 'react-native-reanimated';
import type { AnimatedProps } from 'react-native-reanimated';
import type { ScrollEventsHandlersHookType } from '../../types';

export interface BottomSheetScrollableProps {
Expand Down Expand Up @@ -56,7 +56,7 @@ export type ScrollableProps<T> =

//#region FlatList
export type BottomSheetFlatListProps<T> = Omit<
Animated.AnimateProps<FlatListProps<T>>,
AnimatedProps<FlatListProps<T>>,
'decelerationRate' | 'onScroll' | 'scrollEventThrottle'
> &
BottomSheetScrollableProps & {
Expand Down Expand Up @@ -136,7 +136,7 @@ export interface BottomSheetFlatListMethods {

//#region ScrollView
export type BottomSheetScrollViewProps = Omit<
Animated.AnimateProps<ScrollViewProps>,
AnimatedProps<ScrollViewProps>,
'decelerationRate' | 'scrollEventThrottle'
> &
BottomSheetScrollableProps & {
Expand Down Expand Up @@ -202,7 +202,7 @@ export interface BottomSheetScrollViewMethods {

//#region SectionList
export type BottomSheetSectionListProps<ItemT, SectionT> = Omit<
Animated.AnimateProps<SectionListProps<ItemT, SectionT>>,
AnimatedProps<SectionListProps<ItemT, SectionT>>,
'decelerationRate' | 'scrollEventThrottle'
> &
BottomSheetScrollableProps & {
Expand Down Expand Up @@ -245,7 +245,7 @@ export interface BottomSheetSectionListMethods {

//#region
export type BottomSheetVirtualizedListProps<T> = Omit<
Animated.AnimateProps<VirtualizedListProps<T>>,
AnimatedProps<VirtualizedListProps<T>>,
'decelerationRate' | 'scrollEventThrottle'
> &
BottomSheetScrollableProps & {
Expand Down