UNPKG

@legendapp/motion

Version:
12 lines (11 loc) 3.86 kB
import { Animated } from 'react-native'; import { MotionPressable } from './MotionPressable'; export declare namespace Motion { const View: import("react-native").ViewProps & import("./Interfaces").MotionComponentProps<typeof import("react-native").View, import("react-native").ViewStyle, any, any, {}> & import("react").RefAttributes<import("react-native").View> & (<TAnimate = unknown, TAnimateProps = unknown>(props: import("react-native").ViewProps & import("./Interfaces").MotionComponentProps<typeof import("react-native").View, import("react-native").ViewStyle, TAnimate, TAnimateProps, {}>) => import("react").ReactElement | null); const Text: import("react-native").TextProps & import("./Interfaces").MotionComponentProps<typeof import("react-native").Text, import("react-native").TextStyle, any, any, {}> & import("react").RefAttributes<import("react-native").Text> & (<TAnimate = unknown, TAnimateProps = unknown>(props: import("react-native").TextProps & import("./Interfaces").MotionComponentProps<typeof import("react-native").Text, import("react-native").TextStyle, TAnimate, TAnimateProps, {}>) => import("react").ReactElement | null); const FlatList: Animated.AnimatedProps<import("react-native").FlatListProps<unknown>> & import("./Interfaces").MotionComponentProps<typeof Animated.FlatList, Animated.Value | Animated.AnimatedInterpolation<string | number> | Animated.WithAnimatedObject<import("react-native").ViewStyle>, any, any, {}> & import("react").RefAttributes<Animated.FlatList<unknown>> & (<TAnimate = unknown, TAnimateProps = unknown>(props: Animated.AnimatedProps<import("react-native").FlatListProps<unknown>> & import("./Interfaces").MotionComponentProps<typeof Animated.FlatList, Animated.Value | Animated.AnimatedInterpolation<string | number> | Animated.WithAnimatedObject<import("react-native").ViewStyle>, TAnimate, TAnimateProps, {}>) => import("react").ReactElement | null); const Image: import("react-native").ImageProps & import("./Interfaces").MotionComponentProps<typeof import("react-native").Image, import("react-native").ImageStyle, any, any, {}> & import("react").RefAttributes<import("react-native").Image> & (<TAnimate = unknown, TAnimateProps = unknown>(props: import("react-native").ImageProps & import("./Interfaces").MotionComponentProps<typeof import("react-native").Image, import("react-native").ImageStyle, TAnimate, TAnimateProps, {}>) => import("react").ReactElement | null); const ScrollView: import("react-native").ScrollViewProps & import("./Interfaces").MotionComponentProps<typeof import("react-native").ScrollView, import("react-native").ViewStyle, any, any, {}> & import("react").RefAttributes<import("react-native").ScrollView> & (<TAnimate = unknown, TAnimateProps = unknown>(props: import("react-native").ScrollViewProps & import("./Interfaces").MotionComponentProps<typeof import("react-native").ScrollView, import("react-native").ViewStyle, TAnimate, TAnimateProps, {}>) => import("react").ReactElement | null); const SectionList: Animated.AnimatedProps<import("react-native").SectionListProps<unknown, unknown>> & import("./Interfaces").MotionComponentProps<typeof Animated.SectionList, Animated.Value | Animated.AnimatedInterpolation<string | number> | Animated.WithAnimatedObject<import("react-native").ViewStyle>, any, any, {}> & import("react").RefAttributes<Animated.SectionList<unknown, unknown>> & (<TAnimate = unknown, TAnimateProps = unknown>(props: Animated.AnimatedProps<import("react-native").SectionListProps<unknown, unknown>> & import("./Interfaces").MotionComponentProps<typeof Animated.SectionList, Animated.Value | Animated.AnimatedInterpolation<string | number> | Animated.WithAnimatedObject<import("react-native").ViewStyle>, TAnimate, TAnimateProps, {}>) => import("react").ReactElement | null); const Pressable: typeof MotionPressable; }