UNPKG

3.78 kBPlain TextView Raw
1'use strict';
2import type { Extrapolate as _Extrapolate } from './reanimated2/interpolateColor';
3import type { SharedValue as _SharedValue } from './reanimated2/commonTypes';
4import type { DerivedValue as _DerivedValue } from './reanimated2/hook/useDerivedValue';
5import type {
6 TransformStyleTypes as _TransformStyleTypes,
7 Adaptable as _Adaptable,
8 AdaptTransforms as _AdaptTransforms,
9 AnimatedTransform as _AnimatedTransform,
10 AnimateStyle as _AnimateStyle,
11 StylesOrDefault as _StylesOrDefault,
12 AnimateProps as _AnimateProps,
13} from './reanimated2/helperTypes';
14import type { EasingFunction as _EasingFunction } from './reanimated2/Easing';
15
16import type { AnimatedScrollViewProps as _AnimatedScrollViewProps } from './reanimated2/component/ScrollView';
17import type { FlatListPropsWithLayout as _FlatListPropsWithLayout } from './reanimated2/component/FlatList';
18
19export { createAnimatedComponent } from './createAnimatedComponent';
20export { AnimatedText as Text } from './reanimated2/component/Text';
21export { AnimatedView as View } from './reanimated2/component/View';
22export { AnimatedScrollView as ScrollView } from './reanimated2/component/ScrollView';
23export { AnimatedImage as Image } from './reanimated2/component/Image';
24export { ReanimatedFlatList as FlatList } from './reanimated2/component/FlatList';
25export {
26 addWhitelistedNativeProps,
27 addWhitelistedUIProps,
28} from './ConfigHelper';
29/**
30 * @deprecated Please import `Extrapolate` directly from `react-native-reanimated` instead of `Animated` namespace.
31 */
32export type Extrapolate = typeof _Extrapolate;
33/**
34 * @deprecated Please import `SharedValue` directly from `react-native-reanimated` instead of `Animated` namespace.
35 */
36
37export type SharedValue<T> = _SharedValue<T>;
38/**
39 * @deprecated Please import `DerivedValue` directly from `react-native-reanimated` instead of `Animated` namespace.
40 */
41export type DerivedValue<T> = _DerivedValue<T>;
42/**
43 * @deprecated Please import `Adaptable` directly from `react-native-reanimated` instead of `Animated` namespace.
44 */
45export type Adaptable<T> = _Adaptable<T>;
46/**
47 * @deprecated Please import `TransformStyleTypes` directly from `react-native-reanimated` instead of `Animated` namespace.
48 * */
49export type TransformStyleTypes = _TransformStyleTypes;
50/**
51 * @deprecated Please import `AdaptTransforms` directly from `react-native-reanimated` instead of `Animated` namespace.
52 * */
53export type AdaptTransforms<T> = _AdaptTransforms<T>;
54/**
55 * @deprecated Please import `AnimatedTransform` directly from `react-native-reanimated` instead of `Animated` namespace.
56 */
57export type AnimatedTransform = _AnimatedTransform;
58/**
59 * @deprecated Please import `AnimateStyle` directly from `react-native-reanimated` instead of `Animated` namespace.
60 * */
61export type AnimateStyle<S> = _AnimateStyle<S>;
62/**
63 * @deprecated Please import `StylesOrDefault` directly from `react-native-reanimated` instead of `Animated` namespace.
64 * */
65export type StylesOrDefault<S> = _StylesOrDefault<S>;
66/**
67 * @deprecated Please import `AnimateProps` directly from `react-native-reanimated` instead of `Animated` namespace.
68 * */
69export type AnimateProps<P extends object> = _AnimateProps<P>;
70/**
71 * @deprecated Please import `EasingFunction` directly from `react-native-reanimated` instead of `Animated` namespace.
72 * */
73export type EasingFunction = _EasingFunction;
74/**
75 * @deprecated Please import `AnimatedScrollViewProps` directly from `react-native-reanimated` instead of `Animated` namespace.
76 * */
77export type AnimatedScrollViewProps = _AnimatedScrollViewProps;
78/**
79 * @deprecated Please import `FlatListPropsWithLayout` directly from `react-native-reanimated` instead of `Animated` namespace.
80 * */
81export type FlatListPropsWithLayout<T> = _FlatListPropsWithLayout<T>;