react-native-reanimated 3.6.0 → 3.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/module/createAnimatedComponent/createAnimatedComponent.js +12 -0
- package/lib/module/createAnimatedComponent/createAnimatedComponent.js.map +1 -1
- package/lib/module/createAnimatedComponent/setAndForwardRef.js +2 -0
- package/lib/module/createAnimatedComponent/setAndForwardRef.js.map +1 -1
- package/lib/module/reanimated2/Easing.js +3 -3
- package/lib/module/reanimated2/Easing.js.map +1 -1
- package/lib/module/reanimated2/PlatformChecker.js.map +1 -1
- package/lib/module/reanimated2/animation/decay/decay.js +9 -0
- package/lib/module/reanimated2/animation/decay/decay.js.map +1 -1
- package/lib/module/reanimated2/animation/decay/utils.js +13 -0
- package/lib/module/reanimated2/animation/decay/utils.js.map +1 -1
- package/lib/module/reanimated2/animation/delay.js +9 -0
- package/lib/module/reanimated2/animation/delay.js.map +1 -1
- package/lib/module/reanimated2/animation/repeat.js +11 -0
- package/lib/module/reanimated2/animation/repeat.js.map +1 -1
- package/lib/module/reanimated2/animation/sequence.js +10 -0
- package/lib/module/reanimated2/animation/sequence.js.map +1 -1
- package/lib/module/reanimated2/animation/spring.js +9 -0
- package/lib/module/reanimated2/animation/spring.js.map +1 -1
- package/lib/module/reanimated2/animation/springUtils.js +16 -0
- package/lib/module/reanimated2/animation/springUtils.js.map +1 -1
- package/lib/module/reanimated2/animation/timing.js +18 -0
- package/lib/module/reanimated2/animation/timing.js.map +1 -1
- package/lib/module/reanimated2/animation/util.js +7 -0
- package/lib/module/reanimated2/animation/util.js.map +1 -1
- package/lib/module/reanimated2/commonTypes.js +30 -7
- package/lib/module/reanimated2/commonTypes.js.map +1 -1
- package/lib/module/reanimated2/component/FlatList.js.map +1 -1
- package/lib/module/reanimated2/component/LayoutAnimationConfig.js +7 -0
- package/lib/module/reanimated2/component/LayoutAnimationConfig.js.map +1 -1
- package/lib/module/reanimated2/component/ScrollView.js.map +1 -1
- package/lib/module/reanimated2/globals.d.js.map +1 -1
- package/lib/module/reanimated2/helperTypes.js.map +1 -1
- package/lib/module/reanimated2/hook/useAnimatedKeyboard.js +8 -0
- package/lib/module/reanimated2/hook/useAnimatedKeyboard.js.map +1 -1
- package/lib/module/reanimated2/hook/useAnimatedProps.js +9 -0
- package/lib/module/reanimated2/hook/useAnimatedProps.js.map +1 -1
- package/lib/module/reanimated2/hook/useAnimatedReaction.js +6 -4
- package/lib/module/reanimated2/hook/useAnimatedReaction.js.map +1 -1
- package/lib/module/reanimated2/hook/useAnimatedRef.js +7 -0
- package/lib/module/reanimated2/hook/useAnimatedRef.js.map +1 -1
- package/lib/module/reanimated2/hook/useAnimatedScrollHandler.js +10 -2
- package/lib/module/reanimated2/hook/useAnimatedScrollHandler.js.map +1 -1
- package/lib/module/reanimated2/hook/useAnimatedSensor.js +10 -0
- package/lib/module/reanimated2/hook/useAnimatedSensor.js.map +1 -1
- package/lib/module/reanimated2/hook/useAnimatedStyle.js +8 -0
- package/lib/module/reanimated2/hook/useAnimatedStyle.js.map +1 -1
- package/lib/module/reanimated2/hook/useDerivedValue.js +14 -8
- package/lib/module/reanimated2/hook/useDerivedValue.js.map +1 -1
- package/lib/module/reanimated2/hook/useEvent.js +7 -6
- package/lib/module/reanimated2/hook/useEvent.js.map +1 -1
- package/lib/module/reanimated2/hook/useFrameCallback.js +17 -0
- package/lib/module/reanimated2/hook/useFrameCallback.js.map +1 -1
- package/lib/module/reanimated2/hook/useHandler.js +8 -2
- package/lib/module/reanimated2/hook/useHandler.js.map +1 -1
- package/lib/module/reanimated2/hook/useReducedMotion.js +9 -0
- package/lib/module/reanimated2/hook/useReducedMotion.js.map +1 -1
- package/lib/module/reanimated2/hook/useScrollViewOffset.js +8 -0
- package/lib/module/reanimated2/hook/useScrollViewOffset.js.map +1 -1
- package/lib/module/reanimated2/hook/useSharedValue.js +11 -3
- package/lib/module/reanimated2/hook/useSharedValue.js.map +1 -1
- package/lib/module/reanimated2/hook/useWorkletCallback.js +3 -0
- package/lib/module/reanimated2/hook/useWorkletCallback.js.map +1 -1
- package/lib/module/reanimated2/index.js +1 -1
- package/lib/module/reanimated2/index.js.map +1 -1
- package/lib/module/reanimated2/interpolateColor.js +21 -0
- package/lib/module/reanimated2/interpolateColor.js.map +1 -1
- package/lib/module/reanimated2/interpolation.js +51 -21
- package/lib/module/reanimated2/interpolation.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/animationBuilder/BaseAnimationBuilder.js +29 -2
- package/lib/module/reanimated2/layoutReanimation/animationBuilder/BaseAnimationBuilder.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/animationBuilder/ComplexAnimationBuilder.js +67 -2
- package/lib/module/reanimated2/layoutReanimation/animationBuilder/ComplexAnimationBuilder.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/animationBuilder/Keyframe.js +6 -3
- package/lib/module/reanimated2/layoutReanimation/animationBuilder/Keyframe.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/animationBuilder/commonTypes.js +4 -0
- package/lib/module/reanimated2/layoutReanimation/animationBuilder/commonTypes.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Bounce.js +80 -0
- package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Bounce.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Fade.js +79 -0
- package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Fade.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Flip.js +96 -0
- package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Flip.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Lightspeed.js +31 -0
- package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Lightspeed.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Pinwheel.js +15 -0
- package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Pinwheel.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Roll.js +31 -0
- package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Roll.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Rotate.js +63 -0
- package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Rotate.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Slide.js +64 -0
- package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Slide.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Stretch.js +32 -0
- package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Stretch.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Zoom.js +128 -0
- package/lib/module/reanimated2/layoutReanimation/defaultAnimations/Zoom.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/defaultTransitions/CurvedTransition.js +8 -0
- package/lib/module/reanimated2/layoutReanimation/defaultTransitions/CurvedTransition.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/defaultTransitions/EntryExitTransition.js +9 -0
- package/lib/module/reanimated2/layoutReanimation/defaultTransitions/EntryExitTransition.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/defaultTransitions/FadingTransition.js +8 -0
- package/lib/module/reanimated2/layoutReanimation/defaultTransitions/FadingTransition.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/defaultTransitions/JumpingTransition.js +8 -0
- package/lib/module/reanimated2/layoutReanimation/defaultTransitions/JumpingTransition.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/defaultTransitions/LinearTransition.js +10 -3
- package/lib/module/reanimated2/layoutReanimation/defaultTransitions/LinearTransition.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/defaultTransitions/SequencedTransition.js +8 -0
- package/lib/module/reanimated2/layoutReanimation/defaultTransitions/SequencedTransition.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/sharedTransitions/SharedTransition.js +49 -3
- package/lib/module/reanimated2/layoutReanimation/sharedTransitions/SharedTransition.js.map +1 -1
- package/lib/module/reanimated2/layoutReanimation/web/createAnimation.js +4 -4
- package/lib/module/reanimated2/layoutReanimation/web/createAnimation.js.map +1 -1
- package/lib/module/reanimated2/platform-specific/checkCppVersion.js +0 -2
- package/lib/module/reanimated2/platform-specific/checkCppVersion.js.map +1 -1
- package/lib/module/reanimated2/platform-specific/jsVersion.js +1 -1
- package/lib/module/reanimated2/platform-specific/jsVersion.js.map +1 -1
- package/lib/module/reanimated2/platformFunctions/dispatchCommand.js +9 -0
- package/lib/module/reanimated2/platformFunctions/dispatchCommand.js.map +1 -1
- package/lib/module/reanimated2/platformFunctions/getRelativeCoords.js +14 -4
- package/lib/module/reanimated2/platformFunctions/getRelativeCoords.js.map +1 -1
- package/lib/module/reanimated2/platformFunctions/measure.js +7 -0
- package/lib/module/reanimated2/platformFunctions/measure.js.map +1 -1
- package/lib/module/reanimated2/platformFunctions/scrollTo.js +9 -0
- package/lib/module/reanimated2/platformFunctions/scrollTo.js.map +1 -1
- package/lib/module/reanimated2/platformFunctions/setNativeProps.js +8 -0
- package/lib/module/reanimated2/platformFunctions/setNativeProps.js.map +1 -1
- package/lib/module/reanimated2/runtimes.js +8 -0
- package/lib/module/reanimated2/runtimes.js.map +1 -1
- package/lib/module/reanimated2/threads.js +16 -6
- package/lib/module/reanimated2/threads.js.map +1 -1
- package/lib/typescript/createAnimatedComponent/createAnimatedComponent.d.ts +12 -0
- package/lib/typescript/reanimated2/Easing.d.ts +3 -3
- package/lib/typescript/reanimated2/animation/decay/decay.d.ts +8 -0
- package/lib/typescript/reanimated2/animation/decay/utils.d.ts +12 -0
- package/lib/typescript/reanimated2/animation/delay.d.ts +9 -0
- package/lib/typescript/reanimated2/animation/repeat.d.ts +11 -0
- package/lib/typescript/reanimated2/animation/sequence.d.ts +8 -0
- package/lib/typescript/reanimated2/animation/spring.d.ts +9 -0
- package/lib/typescript/reanimated2/animation/springUtils.d.ts +15 -0
- package/lib/typescript/reanimated2/animation/timing.d.ts +17 -0
- package/lib/typescript/reanimated2/animation/util.d.ts +6 -0
- package/lib/typescript/reanimated2/commonTypes.d.ts +25 -7
- package/lib/typescript/reanimated2/component/FlatList.d.ts +6 -0
- package/lib/typescript/reanimated2/component/LayoutAnimationConfig.d.ts +7 -0
- package/lib/typescript/reanimated2/component/ScrollView.d.ts +3 -2
- package/lib/typescript/reanimated2/helperTypes.d.ts +45 -3
- package/lib/typescript/reanimated2/hook/useAnimatedKeyboard.d.ts +7 -0
- package/lib/typescript/reanimated2/hook/useAnimatedProps.d.ts +9 -0
- package/lib/typescript/reanimated2/hook/useAnimatedReaction.d.ts +6 -4
- package/lib/typescript/reanimated2/hook/useAnimatedRef.d.ts +6 -0
- package/lib/typescript/reanimated2/hook/useAnimatedScrollHandler.d.ts +10 -0
- package/lib/typescript/reanimated2/hook/useAnimatedSensor.d.ts +8 -0
- package/lib/typescript/reanimated2/hook/useAnimatedStyle.d.ts +8 -0
- package/lib/typescript/reanimated2/hook/useDerivedValue.d.ts +9 -1
- package/lib/typescript/reanimated2/hook/useEvent.d.ts +8 -5
- package/lib/typescript/reanimated2/hook/useFrameCallback.d.ts +14 -0
- package/lib/typescript/reanimated2/hook/useHandler.d.ts +8 -0
- package/lib/typescript/reanimated2/hook/useReducedMotion.d.ts +8 -0
- package/lib/typescript/reanimated2/hook/useScrollViewOffset.d.ts +7 -0
- package/lib/typescript/reanimated2/hook/useSharedValue.d.ts +8 -1
- package/lib/typescript/reanimated2/hook/useWorkletCallback.d.ts +3 -0
- package/lib/typescript/reanimated2/index.d.ts +1 -1
- package/lib/typescript/reanimated2/interpolateColor.d.ts +17 -0
- package/lib/typescript/reanimated2/interpolation.d.ts +30 -2
- package/lib/typescript/reanimated2/layoutReanimation/animationBuilder/BaseAnimationBuilder.d.ts +25 -2
- package/lib/typescript/reanimated2/layoutReanimation/animationBuilder/ComplexAnimationBuilder.d.ts +56 -1
- package/lib/typescript/reanimated2/layoutReanimation/animationBuilder/commonTypes.d.ts +4 -0
- package/lib/typescript/reanimated2/layoutReanimation/defaultAnimations/Bounce.d.ts +70 -0
- package/lib/typescript/reanimated2/layoutReanimation/defaultAnimations/Fade.d.ts +70 -0
- package/lib/typescript/reanimated2/layoutReanimation/defaultAnimations/Flip.d.ts +84 -0
- package/lib/typescript/reanimated2/layoutReanimation/defaultAnimations/Lightspeed.d.ts +28 -0
- package/lib/typescript/reanimated2/layoutReanimation/defaultAnimations/Pinwheel.d.ts +14 -0
- package/lib/typescript/reanimated2/layoutReanimation/defaultAnimations/Roll.d.ts +28 -0
- package/lib/typescript/reanimated2/layoutReanimation/defaultAnimations/Rotate.d.ts +56 -0
- package/lib/typescript/reanimated2/layoutReanimation/defaultAnimations/Slide.d.ts +56 -0
- package/lib/typescript/reanimated2/layoutReanimation/defaultAnimations/Stretch.d.ts +28 -0
- package/lib/typescript/reanimated2/layoutReanimation/defaultAnimations/Zoom.d.ts +112 -0
- package/lib/typescript/reanimated2/layoutReanimation/defaultTransitions/CurvedTransition.d.ts +7 -0
- package/lib/typescript/reanimated2/layoutReanimation/defaultTransitions/EntryExitTransition.d.ts +8 -0
- package/lib/typescript/reanimated2/layoutReanimation/defaultTransitions/FadingTransition.d.ts +7 -0
- package/lib/typescript/reanimated2/layoutReanimation/defaultTransitions/JumpingTransition.d.ts +7 -0
- package/lib/typescript/reanimated2/layoutReanimation/defaultTransitions/LinearTransition.d.ts +10 -0
- package/lib/typescript/reanimated2/layoutReanimation/defaultTransitions/SequencedTransition.d.ts +7 -0
- package/lib/typescript/reanimated2/layoutReanimation/sharedTransitions/SharedTransition.d.ts +43 -1
- package/lib/typescript/reanimated2/layoutReanimation/web/createAnimation.d.ts +4 -4
- package/lib/typescript/reanimated2/platform-specific/jsVersion.d.ts +1 -1
- package/lib/typescript/reanimated2/platformFunctions/dispatchCommand.d.ts +8 -0
- package/lib/typescript/reanimated2/platformFunctions/getRelativeCoords.d.ts +11 -3
- package/lib/typescript/reanimated2/platformFunctions/measure.d.ts +7 -0
- package/lib/typescript/reanimated2/platformFunctions/scrollTo.d.ts +9 -0
- package/lib/typescript/reanimated2/platformFunctions/setNativeProps.d.ts +7 -0
- package/lib/typescript/reanimated2/runtimes.d.ts +8 -0
- package/lib/typescript/reanimated2/threads.d.ts +17 -2
- package/package.json +2 -1
- package/src/createAnimatedComponent/createAnimatedComponent.tsx +18 -0
- package/src/createAnimatedComponent/setAndForwardRef.ts +2 -0
- package/src/reanimated2/Easing.ts +3 -3
- package/src/reanimated2/PlatformChecker.ts +1 -1
- package/src/reanimated2/animation/decay/decay.ts +8 -0
- package/src/reanimated2/animation/decay/utils.ts +12 -0
- package/src/reanimated2/animation/delay.ts +9 -0
- package/src/reanimated2/animation/repeat.ts +11 -0
- package/src/reanimated2/animation/sequence.ts +8 -0
- package/src/reanimated2/animation/spring.ts +9 -0
- package/src/reanimated2/animation/springUtils.ts +15 -0
- package/src/reanimated2/animation/timing.ts +17 -0
- package/src/reanimated2/animation/util.ts +6 -0
- package/src/reanimated2/commonTypes.ts +25 -7
- package/src/reanimated2/component/FlatList.tsx +6 -0
- package/src/reanimated2/component/LayoutAnimationConfig.tsx +7 -0
- package/src/reanimated2/component/ScrollView.tsx +3 -1
- package/src/reanimated2/globals.d.ts +1 -1
- package/src/reanimated2/helperTypes.ts +45 -3
- package/src/reanimated2/hook/useAnimatedKeyboard.ts +7 -0
- package/src/reanimated2/hook/useAnimatedProps.ts +9 -0
- package/src/reanimated2/hook/useAnimatedReaction.ts +6 -4
- package/src/reanimated2/hook/useAnimatedRef.ts +6 -0
- package/src/reanimated2/hook/useAnimatedScrollHandler.ts +10 -0
- package/src/reanimated2/hook/useAnimatedSensor.ts +8 -0
- package/src/reanimated2/hook/useAnimatedStyle.ts +8 -0
- package/src/reanimated2/hook/useDerivedValue.ts +15 -7
- package/src/reanimated2/hook/useEvent.ts +9 -6
- package/src/reanimated2/hook/useFrameCallback.ts +14 -0
- package/src/reanimated2/hook/useHandler.ts +8 -0
- package/src/reanimated2/hook/useReducedMotion.ts +8 -0
- package/src/reanimated2/hook/useScrollViewOffset.ts +7 -0
- package/src/reanimated2/hook/useSharedValue.ts +12 -3
- package/src/reanimated2/hook/useWorkletCallback.ts +3 -0
- package/src/reanimated2/index.ts +1 -1
- package/src/reanimated2/interpolateColor.ts +17 -0
- package/src/reanimated2/interpolation.ts +48 -22
- package/src/reanimated2/layoutReanimation/animationBuilder/BaseAnimationBuilder.ts +26 -3
- package/src/reanimated2/layoutReanimation/animationBuilder/ComplexAnimationBuilder.ts +57 -2
- package/src/reanimated2/layoutReanimation/animationBuilder/Keyframe.ts +7 -6
- package/src/reanimated2/layoutReanimation/animationBuilder/commonTypes.ts +4 -0
- package/src/reanimated2/layoutReanimation/defaultAnimations/Bounce.ts +71 -0
- package/src/reanimated2/layoutReanimation/defaultAnimations/Fade.ts +70 -1
- package/src/reanimated2/layoutReanimation/defaultAnimations/Flip.ts +84 -0
- package/src/reanimated2/layoutReanimation/defaultAnimations/Lightspeed.ts +28 -0
- package/src/reanimated2/layoutReanimation/defaultAnimations/Pinwheel.ts +14 -0
- package/src/reanimated2/layoutReanimation/defaultAnimations/Roll.ts +28 -0
- package/src/reanimated2/layoutReanimation/defaultAnimations/Rotate.ts +56 -0
- package/src/reanimated2/layoutReanimation/defaultAnimations/Slide.ts +56 -0
- package/src/reanimated2/layoutReanimation/defaultAnimations/Stretch.ts +28 -0
- package/src/reanimated2/layoutReanimation/defaultAnimations/Zoom.ts +112 -0
- package/src/reanimated2/layoutReanimation/defaultTransitions/CurvedTransition.ts +7 -0
- package/src/reanimated2/layoutReanimation/defaultTransitions/EntryExitTransition.ts +8 -0
- package/src/reanimated2/layoutReanimation/defaultTransitions/FadingTransition.ts +7 -0
- package/src/reanimated2/layoutReanimation/defaultTransitions/JumpingTransition.ts +8 -0
- package/src/reanimated2/layoutReanimation/defaultTransitions/LinearTransition.ts +10 -3
- package/src/reanimated2/layoutReanimation/defaultTransitions/SequencedTransition.ts +7 -0
- package/src/reanimated2/layoutReanimation/sharedTransitions/SharedTransition.ts +45 -3
- package/src/reanimated2/layoutReanimation/web/createAnimation.ts +4 -4
- package/src/reanimated2/platform-specific/checkCppVersion.ts +0 -4
- package/src/reanimated2/platform-specific/jsVersion.ts +1 -1
- package/src/reanimated2/platformFunctions/dispatchCommand.ts +8 -0
- package/src/reanimated2/platformFunctions/getRelativeCoords.ts +12 -4
- package/src/reanimated2/platformFunctions/measure.ts +7 -0
- package/src/reanimated2/platformFunctions/scrollTo.ts +9 -0
- package/src/reanimated2/platformFunctions/setNativeProps.ts +7 -0
- package/src/reanimated2/runtimes.ts +8 -0
- package/src/reanimated2/threads.ts +18 -7
|
@@ -1,34 +1,90 @@
|
|
|
1
1
|
import type { EntryAnimationsValues, ExitAnimationsValues, AnimationConfigFunction, IEntryAnimationBuilder, IExitAnimationBuilder } from '../animationBuilder/commonTypes';
|
|
2
2
|
import type { BaseAnimationBuilder } from '../animationBuilder';
|
|
3
3
|
import { ComplexAnimationBuilder } from '../animationBuilder';
|
|
4
|
+
/**
|
|
5
|
+
* Slide from right animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
6
|
+
*
|
|
7
|
+
* You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
8
|
+
*
|
|
9
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#slide
|
|
10
|
+
*/
|
|
4
11
|
export declare class SlideInRight extends ComplexAnimationBuilder implements IEntryAnimationBuilder {
|
|
5
12
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
6
13
|
build: () => AnimationConfigFunction<EntryAnimationsValues>;
|
|
7
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* Slide from left animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
17
|
+
*
|
|
18
|
+
* You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
19
|
+
*
|
|
20
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#slide
|
|
21
|
+
*/
|
|
8
22
|
export declare class SlideInLeft extends ComplexAnimationBuilder implements IEntryAnimationBuilder {
|
|
9
23
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
10
24
|
build: () => AnimationConfigFunction<EntryAnimationsValues>;
|
|
11
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Slide to right animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
28
|
+
*
|
|
29
|
+
* You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
30
|
+
*
|
|
31
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#slide
|
|
32
|
+
*/
|
|
12
33
|
export declare class SlideOutRight extends ComplexAnimationBuilder implements IExitAnimationBuilder {
|
|
13
34
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
14
35
|
build: () => AnimationConfigFunction<ExitAnimationsValues>;
|
|
15
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* Slide to left animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
39
|
+
*
|
|
40
|
+
* You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
41
|
+
*
|
|
42
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#slide
|
|
43
|
+
*/
|
|
16
44
|
export declare class SlideOutLeft extends ComplexAnimationBuilder implements IExitAnimationBuilder {
|
|
17
45
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
18
46
|
build: () => AnimationConfigFunction<ExitAnimationsValues>;
|
|
19
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* Slide from top animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
50
|
+
*
|
|
51
|
+
* You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
52
|
+
*
|
|
53
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#slide
|
|
54
|
+
*/
|
|
20
55
|
export declare class SlideInUp extends ComplexAnimationBuilder implements IEntryAnimationBuilder {
|
|
21
56
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
22
57
|
build: () => AnimationConfigFunction<EntryAnimationsValues>;
|
|
23
58
|
}
|
|
59
|
+
/**
|
|
60
|
+
* Slide from bottom animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
61
|
+
*
|
|
62
|
+
* You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
63
|
+
*
|
|
64
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#slide
|
|
65
|
+
*/
|
|
24
66
|
export declare class SlideInDown extends ComplexAnimationBuilder implements IEntryAnimationBuilder {
|
|
25
67
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
26
68
|
build: () => AnimationConfigFunction<EntryAnimationsValues>;
|
|
27
69
|
}
|
|
70
|
+
/**
|
|
71
|
+
* Slide to top animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
72
|
+
*
|
|
73
|
+
* You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
74
|
+
*
|
|
75
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#slide
|
|
76
|
+
*/
|
|
28
77
|
export declare class SlideOutUp extends ComplexAnimationBuilder implements IExitAnimationBuilder {
|
|
29
78
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
30
79
|
build: () => AnimationConfigFunction<ExitAnimationsValues>;
|
|
31
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* Slide to bottom animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
83
|
+
*
|
|
84
|
+
* You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
85
|
+
*
|
|
86
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations#slide
|
|
87
|
+
*/
|
|
32
88
|
export declare class SlideOutDown extends ComplexAnimationBuilder implements IExitAnimationBuilder {
|
|
33
89
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
34
90
|
build: () => AnimationConfigFunction<ExitAnimationsValues>;
|
|
@@ -1,18 +1,46 @@
|
|
|
1
1
|
import type { IEntryExitAnimationBuilder, EntryExitAnimationFunction } from '../animationBuilder/commonTypes';
|
|
2
2
|
import type { BaseAnimationBuilder } from '../animationBuilder';
|
|
3
3
|
import { ComplexAnimationBuilder } from '../animationBuilder';
|
|
4
|
+
/**
|
|
5
|
+
* Stretch animation on the X axis. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
6
|
+
*
|
|
7
|
+
* You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
8
|
+
*
|
|
9
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#stretch
|
|
10
|
+
*/
|
|
4
11
|
export declare class StretchInX extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
|
|
5
12
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
6
13
|
build: () => EntryExitAnimationFunction;
|
|
7
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* Stretch animation on the Y axis. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
17
|
+
*
|
|
18
|
+
* You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
19
|
+
*
|
|
20
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#stretch
|
|
21
|
+
*/
|
|
8
22
|
export declare class StretchInY extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
|
|
9
23
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
10
24
|
build: () => EntryExitAnimationFunction;
|
|
11
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Stretch animation on the X axis. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
28
|
+
*
|
|
29
|
+
* You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
30
|
+
*
|
|
31
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#stretch
|
|
32
|
+
*/
|
|
12
33
|
export declare class StretchOutX extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
|
|
13
34
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
14
35
|
build: () => EntryExitAnimationFunction;
|
|
15
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* Stretch animation on the Y axis. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
39
|
+
*
|
|
40
|
+
* You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
41
|
+
*
|
|
42
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#stretch
|
|
43
|
+
*/
|
|
16
44
|
export declare class StretchOutY extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
|
|
17
45
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
18
46
|
build: () => EntryExitAnimationFunction;
|
|
@@ -1,66 +1,178 @@
|
|
|
1
1
|
import type { IEntryExitAnimationBuilder, EntryExitAnimationFunction, EntryAnimationsValues, ExitAnimationsValues, AnimationConfigFunction, IEntryAnimationBuilder, IExitAnimationBuilder } from '../animationBuilder/commonTypes';
|
|
2
2
|
import type { BaseAnimationBuilder } from '../animationBuilder';
|
|
3
3
|
import { ComplexAnimationBuilder } from '../animationBuilder';
|
|
4
|
+
/**
|
|
5
|
+
* Scale from center animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
6
|
+
*
|
|
7
|
+
* You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
8
|
+
*
|
|
9
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom
|
|
10
|
+
*/
|
|
4
11
|
export declare class ZoomIn extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
|
|
5
12
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
6
13
|
build: () => EntryExitAnimationFunction;
|
|
7
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* Scale from center with rotation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
17
|
+
*
|
|
18
|
+
* You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
19
|
+
*
|
|
20
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom
|
|
21
|
+
*/
|
|
8
22
|
export declare class ZoomInRotate extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
|
|
9
23
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
10
24
|
build: () => EntryExitAnimationFunction;
|
|
11
25
|
}
|
|
26
|
+
/**
|
|
27
|
+
* Scale from left animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
28
|
+
*
|
|
29
|
+
* You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
30
|
+
*
|
|
31
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom
|
|
32
|
+
*/
|
|
12
33
|
export declare class ZoomInLeft extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
|
|
13
34
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
14
35
|
build: () => EntryExitAnimationFunction;
|
|
15
36
|
}
|
|
37
|
+
/**
|
|
38
|
+
* Scale from right animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
39
|
+
*
|
|
40
|
+
* You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
41
|
+
*
|
|
42
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom
|
|
43
|
+
*/
|
|
16
44
|
export declare class ZoomInRight extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
|
|
17
45
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
18
46
|
build: () => EntryExitAnimationFunction;
|
|
19
47
|
}
|
|
48
|
+
/**
|
|
49
|
+
* Scale from top animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
50
|
+
*
|
|
51
|
+
* You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
52
|
+
*
|
|
53
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom
|
|
54
|
+
*/
|
|
20
55
|
export declare class ZoomInUp extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
|
|
21
56
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
22
57
|
build: () => EntryExitAnimationFunction;
|
|
23
58
|
}
|
|
59
|
+
/**
|
|
60
|
+
* Scale from bottom animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
61
|
+
*
|
|
62
|
+
* You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
63
|
+
*
|
|
64
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom
|
|
65
|
+
*/
|
|
24
66
|
export declare class ZoomInDown extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
|
|
25
67
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
26
68
|
build: () => EntryExitAnimationFunction;
|
|
27
69
|
}
|
|
70
|
+
/**
|
|
71
|
+
* Eased scale from top animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
72
|
+
*
|
|
73
|
+
* You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
74
|
+
*
|
|
75
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom
|
|
76
|
+
*/
|
|
28
77
|
export declare class ZoomInEasyUp extends ComplexAnimationBuilder implements IEntryAnimationBuilder {
|
|
29
78
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
30
79
|
build: () => AnimationConfigFunction<EntryAnimationsValues>;
|
|
31
80
|
}
|
|
81
|
+
/**
|
|
82
|
+
* Eased scale from bottom animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
83
|
+
*
|
|
84
|
+
* You pass it to the `entering` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
85
|
+
*
|
|
86
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom
|
|
87
|
+
*/
|
|
32
88
|
export declare class ZoomInEasyDown extends ComplexAnimationBuilder implements IEntryAnimationBuilder {
|
|
33
89
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
34
90
|
build: () => AnimationConfigFunction<EntryAnimationsValues>;
|
|
35
91
|
}
|
|
92
|
+
/**
|
|
93
|
+
* Scale to center animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
94
|
+
*
|
|
95
|
+
* You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
96
|
+
*
|
|
97
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom
|
|
98
|
+
*/
|
|
36
99
|
export declare class ZoomOut extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
|
|
37
100
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
38
101
|
build: () => EntryExitAnimationFunction;
|
|
39
102
|
}
|
|
103
|
+
/**
|
|
104
|
+
* Scale to center with rotation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
105
|
+
*
|
|
106
|
+
* You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
107
|
+
*
|
|
108
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom
|
|
109
|
+
*/
|
|
40
110
|
export declare class ZoomOutRotate extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
|
|
41
111
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
42
112
|
build: () => EntryExitAnimationFunction;
|
|
43
113
|
}
|
|
114
|
+
/**
|
|
115
|
+
* Scale to left animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
116
|
+
*
|
|
117
|
+
* You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
118
|
+
*
|
|
119
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom
|
|
120
|
+
*/
|
|
44
121
|
export declare class ZoomOutLeft extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
|
|
45
122
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
46
123
|
build: () => EntryExitAnimationFunction;
|
|
47
124
|
}
|
|
125
|
+
/**
|
|
126
|
+
* Scale to right animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
127
|
+
*
|
|
128
|
+
* You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
129
|
+
*
|
|
130
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom
|
|
131
|
+
*/
|
|
48
132
|
export declare class ZoomOutRight extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
|
|
49
133
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
50
134
|
build: () => EntryExitAnimationFunction;
|
|
51
135
|
}
|
|
136
|
+
/**
|
|
137
|
+
* Scale to top animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
138
|
+
*
|
|
139
|
+
* You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
140
|
+
*
|
|
141
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom
|
|
142
|
+
*/
|
|
52
143
|
export declare class ZoomOutUp extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
|
|
53
144
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
54
145
|
build: () => EntryExitAnimationFunction;
|
|
55
146
|
}
|
|
147
|
+
/**
|
|
148
|
+
* Scale to bottom animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
149
|
+
*
|
|
150
|
+
* You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
151
|
+
*
|
|
152
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom
|
|
153
|
+
*/
|
|
56
154
|
export declare class ZoomOutDown extends ComplexAnimationBuilder implements IEntryExitAnimationBuilder {
|
|
57
155
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
58
156
|
build: () => EntryExitAnimationFunction;
|
|
59
157
|
}
|
|
158
|
+
/**
|
|
159
|
+
* Eased scale to top animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
160
|
+
*
|
|
161
|
+
* You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
162
|
+
*
|
|
163
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom
|
|
164
|
+
*/
|
|
60
165
|
export declare class ZoomOutEasyUp extends ComplexAnimationBuilder implements IExitAnimationBuilder {
|
|
61
166
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
62
167
|
build: () => AnimationConfigFunction<ExitAnimationsValues>;
|
|
63
168
|
}
|
|
169
|
+
/**
|
|
170
|
+
* Eased scale to bottom animation. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
171
|
+
*
|
|
172
|
+
* You pass it to the `exiting` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
173
|
+
*
|
|
174
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/entering-exiting-animations/#zoom
|
|
175
|
+
*/
|
|
64
176
|
export declare class ZoomOutEasyDown extends ComplexAnimationBuilder implements IExitAnimationBuilder {
|
|
65
177
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
66
178
|
build: () => AnimationConfigFunction<ExitAnimationsValues>;
|
package/lib/typescript/reanimated2/layoutReanimation/defaultTransitions/CurvedTransition.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import type { ILayoutAnimationBuilder, LayoutAnimationFunction } from '../animationBuilder/commonTypes';
|
|
2
2
|
import { BaseAnimationBuilder } from '../animationBuilder';
|
|
3
3
|
import type { EasingFunction } from '../../Easing';
|
|
4
|
+
/**
|
|
5
|
+
* Layout transitions with a curved animation. You can modify the behavior by chaining methods like `.duration(500)` or `.delay(500)`.
|
|
6
|
+
*
|
|
7
|
+
* You pass it to the `layout` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
8
|
+
*
|
|
9
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/layout-transitions#fading-transition
|
|
10
|
+
*/
|
|
4
11
|
export declare class CurvedTransition extends BaseAnimationBuilder implements ILayoutAnimationBuilder {
|
|
5
12
|
easingXV: EasingFunction;
|
|
6
13
|
easingYV: EasingFunction;
|
package/lib/typescript/reanimated2/layoutReanimation/defaultTransitions/EntryExitTransition.d.ts
CHANGED
|
@@ -10,4 +10,12 @@ export declare class EntryExitTransition extends BaseAnimationBuilder implements
|
|
|
10
10
|
exiting(animation: BaseAnimationBuilder | typeof BaseAnimationBuilder): EntryExitTransition;
|
|
11
11
|
build: () => LayoutAnimationFunction;
|
|
12
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* Lets you combine two layout animations into a layout transition. You can modify the behavior by chaining methods like `.delay(500)`.
|
|
15
|
+
*
|
|
16
|
+
* @param exiting - Layout animation used when components are removed from layout (eg. `FadeOut`).
|
|
17
|
+
* @param entering - Layout animation used when components are added to layout (eg. `FadeIn`).
|
|
18
|
+
* @returns A custom layout transition. You pass it to the `layout` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
19
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/layout-transitions#combine-transition
|
|
20
|
+
*/
|
|
13
21
|
export declare function combineTransition(exiting: BaseAnimationBuilder | typeof BaseAnimationBuilder, entering: BaseAnimationBuilder | typeof BaseAnimationBuilder): EntryExitTransition;
|
package/lib/typescript/reanimated2/layoutReanimation/defaultTransitions/FadingTransition.d.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import type { ILayoutAnimationBuilder, LayoutAnimationFunction } from '../animationBuilder/commonTypes';
|
|
2
2
|
import { BaseAnimationBuilder } from '../animationBuilder';
|
|
3
|
+
/**
|
|
4
|
+
* Fades out components from one position and shows them in another. You can modify the behavior by chaining methods like `.duration(500)` or `.delay(500)`.
|
|
5
|
+
*
|
|
6
|
+
* You pass it to the `layout` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
7
|
+
*
|
|
8
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/layout-transitions#fading-transition
|
|
9
|
+
*/
|
|
3
10
|
export declare class FadingTransition extends BaseAnimationBuilder implements ILayoutAnimationBuilder {
|
|
4
11
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
5
12
|
build: () => LayoutAnimationFunction;
|
package/lib/typescript/reanimated2/layoutReanimation/defaultTransitions/JumpingTransition.d.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import type { ILayoutAnimationBuilder, LayoutAnimationFunction } from '../animationBuilder/commonTypes';
|
|
2
2
|
import { BaseAnimationBuilder } from '../animationBuilder';
|
|
3
|
+
/**
|
|
4
|
+
* Layout jumps - quite literally - from one position to another. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
5
|
+
*
|
|
6
|
+
* You pass it to the `layout` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
7
|
+
*
|
|
8
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/layout-transitions#jumping-transition
|
|
9
|
+
*/
|
|
3
10
|
export declare class JumpingTransition extends BaseAnimationBuilder implements ILayoutAnimationBuilder {
|
|
4
11
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
5
12
|
build: () => LayoutAnimationFunction;
|
package/lib/typescript/reanimated2/layoutReanimation/defaultTransitions/LinearTransition.d.ts
CHANGED
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
import type { BaseAnimationBuilder } from '../animationBuilder';
|
|
2
2
|
import { ComplexAnimationBuilder } from '../animationBuilder';
|
|
3
3
|
import type { ILayoutAnimationBuilder, LayoutAnimationFunction } from '../animationBuilder/commonTypes';
|
|
4
|
+
/**
|
|
5
|
+
* Linearly transforms the layout from one position to another. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
6
|
+
*
|
|
7
|
+
* You pass it to the `layout` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
8
|
+
*
|
|
9
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/layout-transitions#linear-transition
|
|
10
|
+
*/
|
|
4
11
|
export declare class LinearTransition extends ComplexAnimationBuilder implements ILayoutAnimationBuilder {
|
|
5
12
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
|
6
13
|
build: () => LayoutAnimationFunction;
|
|
7
14
|
}
|
|
15
|
+
/**
|
|
16
|
+
* @deprecated Please use {@link LinearTransition} instead.
|
|
17
|
+
*/
|
|
8
18
|
export declare const Layout: typeof LinearTransition;
|
package/lib/typescript/reanimated2/layoutReanimation/defaultTransitions/SequencedTransition.d.ts
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import type { ILayoutAnimationBuilder, LayoutAnimationFunction } from '../animationBuilder/commonTypes';
|
|
2
2
|
import { BaseAnimationBuilder } from '../animationBuilder';
|
|
3
|
+
/**
|
|
4
|
+
* Transforms layout starting from the X-axis and width first, followed by the Y-axis and height. You can modify the behavior by chaining methods like `.springify()` or `.duration(500)`.
|
|
5
|
+
*
|
|
6
|
+
* You pass it to the `layout` prop on [an Animated component](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#animated-component).
|
|
7
|
+
*
|
|
8
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/layout-animations/layout-transitions#sequenced-transition
|
|
9
|
+
*/
|
|
3
10
|
export declare class SequencedTransition extends BaseAnimationBuilder implements ILayoutAnimationBuilder {
|
|
4
11
|
reversed: boolean;
|
|
5
12
|
static createInstance<T extends typeof BaseAnimationBuilder>(this: T): InstanceType<T>;
|
package/lib/typescript/reanimated2/layoutReanimation/sharedTransitions/SharedTransition.d.ts
CHANGED
|
@@ -3,6 +3,12 @@ import { SharedTransitionType } from '../animationBuilder/commonTypes';
|
|
|
3
3
|
import type { StyleProps } from '../../commonTypes';
|
|
4
4
|
import { ReduceMotion } from '../../commonTypes';
|
|
5
5
|
type AnimationFactory = (values: SharedTransitionAnimationsValues) => StyleProps;
|
|
6
|
+
/**
|
|
7
|
+
* A SharedTransition builder class.
|
|
8
|
+
*
|
|
9
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/shared-element-transitions/overview
|
|
10
|
+
* @experimental
|
|
11
|
+
*/
|
|
6
12
|
export declare class SharedTransition {
|
|
7
13
|
private _customAnimationFactory;
|
|
8
14
|
private _animation;
|
|
@@ -24,10 +30,46 @@ export declare class SharedTransition {
|
|
|
24
30
|
private getProgressAnimation;
|
|
25
31
|
private buildAnimation;
|
|
26
32
|
private buildProgressAnimation;
|
|
33
|
+
/**
|
|
34
|
+
* Lets you create a custom shared transition animation. Other shared transition modifiers can be chained alongside this modifier.
|
|
35
|
+
*
|
|
36
|
+
* @param customAnimationFactory - Callback function that have to return an object with styles for the custom shared transition.
|
|
37
|
+
* @returns A {@link SharedTransition} object. Styles returned from this function need to be to the `sharedTransitionStyle` prop.
|
|
38
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/shared-element-transitions/overview
|
|
39
|
+
* @experimental
|
|
40
|
+
*/
|
|
27
41
|
static custom(customAnimationFactory: AnimationFactory): SharedTransition;
|
|
42
|
+
/**
|
|
43
|
+
* Lets you change the duration of the shared transition. Other shared transition modifiers can be chained alongside this modifier.
|
|
44
|
+
*
|
|
45
|
+
* @param duration - The duration of the shared transition animation in milliseconds.
|
|
46
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/shared-element-transitions/overview
|
|
47
|
+
* @experimental
|
|
48
|
+
*/
|
|
28
49
|
static duration(duration: number): SharedTransition;
|
|
50
|
+
/**
|
|
51
|
+
* Lets you create a shared transition animation bound to the progress between navigation screens. Other shared transition modifiers can be chained alongside this modifier.
|
|
52
|
+
*
|
|
53
|
+
* @param progressAnimationCallback - A callback called with the current progress value on every animation frame. It should return an object with styles for the shared transition.
|
|
54
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/shared-element-transitions/overview
|
|
55
|
+
* @experimental
|
|
56
|
+
*/
|
|
29
57
|
static progressAnimation(progressAnimationCallback: CustomProgressAnimation): SharedTransition;
|
|
58
|
+
/**
|
|
59
|
+
* Whether the transition is progress-bound or not. Other shared transition modifiers can be chained alongside this modifier.
|
|
60
|
+
*
|
|
61
|
+
* @param transitionType - Type of the transition. Configured with {@link SharedTransitionType} enum.
|
|
62
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/shared-element-transitions/overview
|
|
63
|
+
* @experimental
|
|
64
|
+
*/
|
|
30
65
|
static defaultTransitionType(transitionType: SharedTransitionType): SharedTransition;
|
|
31
|
-
|
|
66
|
+
/**
|
|
67
|
+
* Lets you adjust the behavior when the device's reduced motion accessibility setting is turned on. Other shared transition modifiers can be chained alongside this modifier.
|
|
68
|
+
*
|
|
69
|
+
* @param reduceMotion - Determines how the animation responds to the device's reduced motion accessibility setting. Default to `ReduceMotion.System` - {@link ReduceMotion}.
|
|
70
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/shared-element-transitions/overview
|
|
71
|
+
* @experimental
|
|
72
|
+
*/
|
|
73
|
+
static reduceMotion(reduceMotion: ReduceMotion): SharedTransition;
|
|
32
74
|
}
|
|
33
75
|
export {};
|
|
@@ -4,16 +4,16 @@ import type { TransformsStyle } from 'react-native';
|
|
|
4
4
|
/**
|
|
5
5
|
* Modifies default animation by preserving transformations that given element already contains.
|
|
6
6
|
*
|
|
7
|
-
* @param animationName Name of the animation to be modified (e.g. `FadeIn`).
|
|
8
|
-
* @param existingTransform Transform values that element already contains.
|
|
7
|
+
* @param animationName - Name of the animation to be modified (e.g. `FadeIn`).
|
|
8
|
+
* @param existingTransform - Transform values that element already contains.
|
|
9
9
|
* @returns Animation parsed to keyframe string.
|
|
10
10
|
*/
|
|
11
11
|
export declare function createAnimationWithExistingTransform(animationName: string, existingTransform: NonNullable<TransformsStyle['transform']>, layoutTransition?: AnimationData): string;
|
|
12
12
|
/**
|
|
13
13
|
* Creates transition of given type, appends it to stylesheet and returns keyframe name.
|
|
14
14
|
*
|
|
15
|
-
* @param transitionType Type of transition (e.g. LINEAR).
|
|
16
|
-
* @param transitionData Object containing data for transforms (translateX, scaleX,...).
|
|
15
|
+
* @param transitionType - Type of transition (e.g. LINEAR).
|
|
16
|
+
* @param transitionData - Object containing data for transforms (translateX, scaleX,...).
|
|
17
17
|
* @returns Keyframe name that represents transition.
|
|
18
18
|
*/
|
|
19
19
|
export declare function TransitionGenerator(transitionType: TransitionType, transitionData: TransitionData, existingTransform: TransformsStyle['transform'] | undefined): string;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import type { AnimatedRef } from '../hook/commonTypes';
|
|
2
2
|
import type { Component } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Lets you synchronously call a command of a native component.
|
|
5
|
+
*
|
|
6
|
+
* @param animatedRef - An [animated ref](https://docs.swmansion.com/react-native-reanimated/docs/core/useAnimatedRef#returns) connected to the component you'd want to call the command on.
|
|
7
|
+
* @param commandName - The name of the command to dispatch (e.g. `"focus"` or `"scrollToEnd"`).
|
|
8
|
+
* @param args - An optional array of arguments for the command.
|
|
9
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/advanced/dispatchCommand
|
|
10
|
+
*/
|
|
3
11
|
export declare let dispatchCommand: <T extends Component>(animatedRef: AnimatedRef<T>, commandName: string, args?: Array<unknown>) => void;
|
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
import type { Component } from 'react';
|
|
2
2
|
import type { AnimatedRef } from '../hook/commonTypes';
|
|
3
|
+
/**
|
|
4
|
+
* An object which contains relative coordinates.
|
|
5
|
+
*/
|
|
3
6
|
export interface ComponentCoords {
|
|
4
7
|
x: number;
|
|
5
8
|
y: number;
|
|
6
9
|
}
|
|
7
10
|
/**
|
|
8
|
-
*
|
|
9
|
-
*
|
|
11
|
+
* Lets you determines the location on the screen, relative to the given view.
|
|
12
|
+
*
|
|
13
|
+
* @param animatedRef - An [animated ref](https://docs.swmansion.com/react-native-reanimated/docs/core/useAnimatedRef#returns) connected to the component you'd want to get the coordinates from.
|
|
14
|
+
* @param absoluteX - A number which is an absolute x coordinate.
|
|
15
|
+
* @param absoluteY - A number which is an absolute y coordinate.
|
|
16
|
+
* @returns An object which contains relative coordinates - {@link ComponentCoords}.
|
|
17
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/utilities/getRelativeCoords
|
|
10
18
|
*/
|
|
11
|
-
export declare function getRelativeCoords(
|
|
19
|
+
export declare function getRelativeCoords(animatedRef: AnimatedRef<Component>, absoluteX: number, absoluteY: number): ComponentCoords | null;
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import type { MeasuredDimensions } from '../commonTypes';
|
|
2
2
|
import type { AnimatedRef } from '../hook/commonTypes';
|
|
3
3
|
import type { Component } from 'react';
|
|
4
|
+
/**
|
|
5
|
+
* Lets you synchronously get the dimensions and position of a view on the screen.
|
|
6
|
+
*
|
|
7
|
+
* @param animatedRef - An [animated ref](https://docs.swmansion.com/react-native-reanimated/docs/core/useAnimatedRef#returns) connected to the component you'd want to get the measurements from.
|
|
8
|
+
* @returns An object containing component measurements or null when the measurement couldn't be performed- {@link MeasuredDimensions}.
|
|
9
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/advanced/measure/
|
|
10
|
+
*/
|
|
4
11
|
export declare let measure: <T extends Component>(animatedRef: AnimatedRef<T>) => MeasuredDimensions | null;
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
import type { AnimatedRef } from '../hook/commonTypes';
|
|
2
2
|
import type { Component } from 'react';
|
|
3
|
+
/**
|
|
4
|
+
* Lets you synchronously scroll to a given position of a `ScrollView`.
|
|
5
|
+
*
|
|
6
|
+
* @param animatedRef - An [animated ref](https://docs.swmansion.com/react-native-reanimated/docs/core/useAnimatedRef) attached to an `Animated.ScrollView` component.
|
|
7
|
+
* @param x - The x position you want to scroll to.
|
|
8
|
+
* @param y - The y position you want to scroll to.
|
|
9
|
+
* @param animated - Whether the scrolling should be smooth or instant.
|
|
10
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/scroll/scrollTo
|
|
11
|
+
*/
|
|
3
12
|
export declare let scrollTo: <T extends Component>(animatedRef: AnimatedRef<T>, x: number, y: number, animated: boolean) => void;
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import type { StyleProps } from '../commonTypes';
|
|
2
2
|
import type { AnimatedRef } from '../hook/commonTypes';
|
|
3
3
|
import type { Component } from 'react';
|
|
4
|
+
/**
|
|
5
|
+
* Lets you imperatively update component properties. You should always reach for [useAnimatedStyle](https://docs.swmansion.com/react-native-reanimated/docs/core/useAnimatedStyle) and [useAnimatedProps](https://docs.swmansion.com/react-native-reanimated/docs/core/useAnimatedProps) first when animating styles or properties.
|
|
6
|
+
*
|
|
7
|
+
* @param animatedRef - An [animated ref](https://docs.swmansion.com/react-native-reanimated/docs/core/useAnimatedRef#returns) connected to the component you'd want to update.
|
|
8
|
+
* @param updates - An object with properties you want to update.
|
|
9
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/advanced/setNativeProps
|
|
10
|
+
*/
|
|
4
11
|
export declare let setNativeProps: <T extends Component>(animatedRef: AnimatedRef<T>, updates: StyleProps) => void;
|
|
@@ -3,5 +3,13 @@ export type WorkletRuntime = {
|
|
|
3
3
|
__hostObjectWorkletRuntime: never;
|
|
4
4
|
readonly name: string;
|
|
5
5
|
};
|
|
6
|
+
/**
|
|
7
|
+
* Lets you create a new JS runtime which can be used to run worklets possibly on different threads than JS or UI thread.
|
|
8
|
+
*
|
|
9
|
+
* @param name - A name used to identify the runtime which will appear in devices list in Chrome DevTools.
|
|
10
|
+
* @param initializer - An optional worklet that will be run synchronously on the same thread immediately after the runtime is created.
|
|
11
|
+
* @returns WorkletRuntime which is a jsi::HostObject\<reanimated::WorkletRuntime\> - {@link WorkletRuntime}
|
|
12
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/threading/createWorkletRuntime
|
|
13
|
+
*/
|
|
6
14
|
export declare function createWorkletRuntime(name: string, initializer?: __ComplexWorkletFunction<[], void>): WorkletRuntime;
|
|
7
15
|
export declare function runOnRuntime<Args extends unknown[], ReturnValue>(workletRuntime: WorkletRuntime, worklet: (...args: Args) => ReturnValue): WorkletFunction<Args, ReturnValue>;
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
import type { WorkletFunction } from './commonTypes';
|
|
2
2
|
export declare function setupMicrotasks(): void;
|
|
3
3
|
export declare const callMicrotasks: () => void;
|
|
4
|
+
/**
|
|
5
|
+
* Lets you asynchronously run [workletized](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#to-workletize) functions on the [UI thread](https://docs.swmansion.com/react-native-reanimated/docs/threading/runOnUI).
|
|
6
|
+
*
|
|
7
|
+
* This method does not schedule the work immediately but instead waits for other worklets
|
|
8
|
+
* to be scheduled within the same JS loop. It uses queueMicrotask to schedule all the worklets
|
|
9
|
+
* at once making sure they will run within the same frame boundaries on the UI thread.
|
|
10
|
+
*
|
|
11
|
+
* @param fun - A reference to a function you want to execute on the [UI thread](https://docs.swmansion.com/react-native-reanimated/docs/threading/runOnUI) from the [JavaScript thread](https://docs.swmansion.com/react-native-reanimated/docs/threading/runOnUI).
|
|
12
|
+
* @returns A function that accepts arguments for the function passed as the first argument.
|
|
13
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/threading/runOnUI
|
|
14
|
+
*/
|
|
4
15
|
export declare function runOnUI<Args extends unknown[], ReturnValue>(worklet: (...args: Args) => ReturnValue): (...args: Args) => void;
|
|
5
16
|
export declare function runOnUIImmediately<Args extends unknown[], ReturnValue>(worklet: (...args: Args) => ReturnValue): WorkletFunction<Args, ReturnValue>;
|
|
6
17
|
type ReleaseRemoteFunction<Args extends unknown[], ReturnValue> = {
|
|
@@ -11,8 +22,12 @@ type DevRemoteFunction<Args extends unknown[], ReturnValue> = {
|
|
|
11
22
|
};
|
|
12
23
|
type RemoteFunction<Args extends unknown[], ReturnValue> = ReleaseRemoteFunction<Args, ReturnValue> | DevRemoteFunction<Args, ReturnValue>;
|
|
13
24
|
/**
|
|
14
|
-
*
|
|
15
|
-
*
|
|
25
|
+
* Lets you asynchronously run non-[workletized](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#to-workletize) functions that couldn't otherwise run on the [UI thread](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/glossary#ui-thread).
|
|
26
|
+
* This applies to most external libraries as they don't have their functions marked with "worklet"; directive.
|
|
27
|
+
*
|
|
28
|
+
* @param fun - A reference to a function you want to execute on the JavaScript thread from the UI thread.
|
|
29
|
+
* @returns A function that accepts arguments for the function passed as the first argument.
|
|
30
|
+
* @see https://docs.swmansion.com/react-native-reanimated/docs/threading/runOnJS
|
|
16
31
|
*/
|
|
17
32
|
export declare function runOnJS<Args extends unknown[], ReturnValue>(fun: ((...args: Args) => ReturnValue) | RemoteFunction<Args, ReturnValue> | WorkletFunction<Args, ReturnValue>): (...args: Args) => void;
|
|
18
33
|
export {};
|