UNPKG

@ffsm/native-animate

Version:

Simple animation for React Native, only React native and JavaScript

72 lines (71 loc) 4.29 kB
import { Animated } from 'react-native'; export * from './flatten-style'; export * from './transform'; export * from './types'; export * from './use-native-animate'; export * from './with-native-animate'; export declare const View: import("react").ForwardRefExoticComponent<Omit<import("./with-native-animate").PropsWithNativeAnimate<Animated.AnimatedProps<import("react-native").ViewProps & import("react").RefAttributes<import("react-native").View>>>, "ref"> & import("react").RefAttributes<unknown>>; export declare const Text: import("react").ForwardRefExoticComponent<Omit<import("./with-native-animate").PropsWithNativeAnimate<Animated.AnimatedProps<import("react-native").TextProps & import("react").RefAttributes<import("react-native").Text>>>, "ref"> & import("react").RefAttributes<unknown>>; export declare const Image: import("react").ForwardRefExoticComponent<Omit<import("./with-native-animate").PropsWithNativeAnimate<Animated.AnimatedProps<import("react-native").ImageProps & import("react").RefAttributes<import("react-native").Image>>>, "ref"> & import("react").RefAttributes<unknown>>; export declare const ScrollView: import("react").ForwardRefExoticComponent<Omit<import("./with-native-animate").PropsWithNativeAnimate<Animated.AnimatedProps<import("react-native").ScrollViewProps & import("react").RefAttributes<import("react-native").ScrollView>>>, "ref"> & import("react").RefAttributes<unknown>>; export declare const FlatList: import("react").ForwardRefExoticComponent<Animated.AnimatedProps<import("react-native").FlatListProps<unknown>> & { nativeAnimate?: import("./types").NativeAnimateOutputs & { stack?: number[]; auto?: boolean; duration?: number | number[]; delay?: number; loop?: boolean; back?: boolean; backDelay?: number; easing?: import("react-native").EasingFunction; onComplete?(): void; }; animateRef?: import("react").Ref<unknown>; } & import("react").RefAttributes<unknown>>; export declare const SectionList: import("react").ForwardRefExoticComponent<Animated.AnimatedProps<import("react-native").SectionListProps<unknown, unknown>> & { nativeAnimate?: import("./types").NativeAnimateOutputs & { stack?: number[]; auto?: boolean; duration?: number | number[]; delay?: number; loop?: boolean; back?: boolean; backDelay?: number; easing?: import("react-native").EasingFunction; onComplete?(): void; }; animateRef?: import("react").Ref<unknown>; } & import("react").RefAttributes<unknown>>; export declare const TextInput: import("react").ForwardRefExoticComponent<import("react-native").TextInputProps & { nativeAnimate?: import("./types").NativeAnimateOutputs & { stack?: number[]; auto?: boolean; duration?: number | number[]; delay?: number; loop?: boolean; back?: boolean; backDelay?: number; easing?: import("react-native").EasingFunction; onComplete?(): void; }; animateRef?: import("react").Ref<unknown>; } & import("react").RefAttributes<unknown>>; export declare const Pressable: import("react").ForwardRefExoticComponent<Omit<import("./with-native-animate").PropsWithNativeAnimate<import("react-native").PressableProps & import("react").RefAttributes<import("react-native").View>>, "ref"> & import("react").RefAttributes<unknown>>; export declare const Button: import("react").ForwardRefExoticComponent<{ style?: any; } & { nativeAnimate?: import("./types").NativeAnimateOutputs & { stack?: number[]; auto?: boolean; duration?: number | number[]; delay?: number; loop?: boolean; back?: boolean; backDelay?: number; easing?: import("react-native").EasingFunction; onComplete?(): void; }; animateRef?: import("react").Ref<unknown>; } & import("react").RefAttributes<unknown>>; export declare const TouchableOpacity: import("react").ForwardRefExoticComponent<Omit<import("./with-native-animate").PropsWithNativeAnimate<import("react-native").TouchableOpacityProps & import("react").RefAttributes<import("react-native").View>>, "ref"> & import("react").RefAttributes<unknown>>; export { Animated };