react-native-reanimated
Version:
More powerful alternative to Animated library for React Native.
296 lines (291 loc) • 6.21 kB
text/typescript
import './publicGlobals';
import * as Animated from './Animated';
export default Animated;
export type {
DecayAnimation,
DelayAnimation,
RepeatAnimation,
SequenceAnimation,
SpringAnimation,
StyleLayoutAnimation,
TimingAnimation,
WithDecayConfig,
WithSpringConfig,
WithTimingConfig,
} from './animation';
export {
cancelAnimation,
defineAnimation,
withClamp,
withDecay,
withDelay,
withRepeat,
withSequence,
withSpring,
withTiming,
} from './animation';
export type { ParsedColorArray } from './Colors';
export { convertToRGBA, isColor, processColor } from './Colors';
export type {
AnimatableValue,
AnimatableValueObject,
AnimatedKeyboardInfo,
AnimatedKeyboardOptions,
AnimatedSensor,
AnimatedStyle,
AnimatedTransform,
AnimateStyle,
Animation,
AnimationCallback,
AnimationObject,
BaseLayoutAnimationConfig,
EasingFunction,
EntryAnimationsValues,
EntryExitAnimationFunction,
ExitAnimationsValues,
IEntryExitAnimationBuilder,
ILayoutAnimationBuilder,
LayoutAnimation,
LayoutAnimationFunction,
LayoutAnimationStartFunction,
LayoutAnimationsValues,
LayoutAnimationType,
MeasuredDimensions,
SensorConfig,
SharedTransitionAnimationsValues,
SharedValue,
StyleProps,
StylesOrDefault,
TransformArrayItem,
Value3D,
ValueRotation,
} from './commonTypes';
export {
InterfaceOrientation,
IOSReferenceFrame,
isWorkletFunction,
KeyboardState,
ReduceMotion,
SensorType,
SharedTransitionType,
} from './commonTypes';
export type { FlatListPropsWithLayout } from './component/FlatList';
export { LayoutAnimationConfig } from './component/LayoutAnimationConfig';
export type { PerformanceMonitorProps } from './component/PerformanceMonitor';
export { PerformanceMonitor } from './component/PerformanceMonitor';
export { ReducedMotionConfig } from './component/ReducedMotionConfig';
export type { AnimatedScrollViewProps } from './component/ScrollView';
export { configureReanimatedLogger } from './ConfigHelper';
export type { WorkletRuntime } from './core';
export {
createWorkletRuntime,
enableLayoutAnimations,
executeOnUIRuntimeSync,
getViewProp,
isConfigured,
isReanimated3,
makeMutable,
makeShareableCloneRecursive,
runOnJS,
runOnRuntime,
runOnUI,
} from './core';
export type {
EasingFactoryFn,
EasingFn,
EasingFunctionFactory,
} from './Easing';
export { Easing } from './Easing';
export type { FrameInfo } from './frameCallback';
export type {
Adaptable,
AdaptTransforms,
AnimatedProps,
AnimatedStyleProp,
AnimateProps,
TransformStyleTypes,
} from './helperTypes';
export type {
AnimatedRef,
DerivedValue,
EventHandler,
EventHandlerProcessed,
FrameCallback,
GestureHandlers,
ReanimatedEvent,
ScrollEvent,
ScrollHandler,
ScrollHandlerProcessed,
ScrollHandlers,
UseHandlerContext,
} from './hook';
export {
useAnimatedGestureHandler,
useAnimatedKeyboard,
useAnimatedProps,
useAnimatedReaction,
useAnimatedRef,
useAnimatedScrollHandler,
useAnimatedSensor,
useAnimatedStyle,
useComposedEventHandler,
useDerivedValue,
useEvent,
useFrameCallback,
useHandler,
useReducedMotion,
useScrollViewOffset,
useSharedValue,
useWorkletCallback,
} from './hook';
export type {
InterpolateConfig,
InterpolateHSV,
InterpolateRGB,
InterpolationOptions,
} from './interpolateColor';
export {
ColorSpace,
/** @deprecated Please use {@link Extrapolation} instead. */
Extrapolate,
interpolateColor,
useInterpolateConfig,
} from './interpolateColor';
export type { ExtrapolationConfig, ExtrapolationType } from './interpolation';
export { clamp, Extrapolation, interpolate } from './interpolation';
export { isSharedValue } from './isSharedValue';
export {
advanceAnimationByFrame,
advanceAnimationByTime,
getAnimatedStyle,
setUpTests,
withReanimatedTimer,
} from './jestUtils';
export {
BaseAnimationBuilder,
// Bounce
BounceIn,
BounceInDown,
BounceInLeft,
BounceInRight,
BounceInUp,
BounceOut,
BounceOutDown,
BounceOutLeft,
BounceOutRight,
BounceOutUp,
combineTransition,
ComplexAnimationBuilder,
CurvedTransition,
EntryExitTransition,
// Fade
FadeIn,
FadeInDown,
FadeInLeft,
FadeInRight,
FadeInUp,
FadeOut,
FadeOutDown,
FadeOutLeft,
FadeOutRight,
FadeOutUp,
FadingTransition,
FlipInEasyX,
FlipInEasyY,
FlipInXDown,
// Flip
FlipInXUp,
FlipInYLeft,
FlipInYRight,
FlipOutEasyX,
FlipOutEasyY,
FlipOutXDown,
FlipOutXUp,
FlipOutYLeft,
FlipOutYRight,
JumpingTransition,
Keyframe,
// Transitions
Layout,
LightSpeedInLeft,
// Lightspeed
LightSpeedInRight,
LightSpeedOutLeft,
LightSpeedOutRight,
LinearTransition,
// Pinwheel
PinwheelIn,
PinwheelOut,
// Roll
RollInLeft,
RollInRight,
RollOutLeft,
RollOutRight,
// Rotate
RotateInDownLeft,
RotateInDownRight,
RotateInUpLeft,
RotateInUpRight,
RotateOutDownLeft,
RotateOutDownRight,
RotateOutUpLeft,
RotateOutUpRight,
SequencedTransition,
// SET
SharedTransition,
SlideInDown,
SlideInLeft,
// Slide
SlideInRight,
SlideInUp,
SlideOutDown,
SlideOutLeft,
SlideOutRight,
SlideOutUp,
// Stretch
StretchInX,
StretchInY,
StretchOutX,
StretchOutY,
// Zoom
ZoomIn,
ZoomInDown,
ZoomInEasyDown,
ZoomInEasyUp,
ZoomInLeft,
ZoomInRight,
ZoomInRotate,
ZoomInUp,
ZoomOut,
ZoomOutDown,
ZoomOutEasyDown,
ZoomOutEasyUp,
ZoomOutLeft,
ZoomOutRight,
ZoomOutRotate,
ZoomOutUp,
} from './layoutReanimation';
export { LogLevel as ReanimatedLogLevel } from './logger';
export { startMapper, stopMapper } from './mappers';
export type { ComponentCoords } from './platformFunctions';
export {
dispatchCommand,
getRelativeCoords,
measure,
scrollTo,
setGestureState,
setNativeProps,
} from './platformFunctions';
export { getUseOfValueInStyleWarning } from './pluginUtils';
export { createAnimatedPropAdapter } from './PropAdapters';
export type {
AnimatedScreenTransition,
GoBackGesture,
ScreenTransitionConfig,
} from './screenTransition';
export {
finishScreenTransition,
ScreenTransition,
startScreenTransition,
} from './screenTransition';
;