UNPKG

react-native-sortables

Version:

Powerful Sortable Components for Flexible Content Reordering in React Native

20 lines (16 loc) 511 B
import type { StyleProp, ViewStyle } from 'react-native'; import type { AnimatedStyle, BaseAnimationBuilder, EntryExitAnimationFunction, LayoutAnimationFunction } from 'react-native-reanimated'; export type LayoutAnimation = | BaseAnimationBuilder | EntryExitAnimationFunction | typeof BaseAnimationBuilder; export type LayoutTransition = | BaseAnimationBuilder | LayoutAnimationFunction | typeof BaseAnimationBuilder; export type AnimatedStyleProp = StyleProp<AnimatedStyle<ViewStyle>>;