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