Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F33321969
D14233.1768848419.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
927 B
Referenced Files
None
Subscribers
None
D14233.1768848419.diff
View Options
diff --git a/native/flow-typed/npm/react-native-reanimated_v2.x.x.js b/native/flow-typed/npm/react-native-reanimated_v2.x.x.js
--- a/native/flow-typed/npm/react-native-reanimated_v2.x.x.js
+++ b/native/flow-typed/npm/react-native-reanimated_v2.x.x.js
@@ -589,6 +589,11 @@
callback?: AnimationCallback,
) => T;
+ declare type WithDelay = <T: AnimatableValue>(
+ delayMs: number,
+ delayedAnimation: T,
+ ) => T;
+
declare type RunOnJS = <F>(func: F) => F;
declare type CancelAnimation = <T>(animation: SharedValue<T>) => void;
@@ -659,6 +664,7 @@
declare export var useAnimatedStyle: UseAnimatedStyle;
declare export var withSpring: WithSpring;
declare export var withTiming: WithTiming;
+ declare export var withDelay: WithDelay;
declare export var runOnJS: RunOnJS;
declare export var cancelAnimation: CancelAnimation;
declare export var useAnimatedKeyboard: UseAnimatedKeyboard;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 19, 6:46 PM (5 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5957764
Default Alt Text
D14233.1768848419.diff (927 B)
Attached To
Mode
D14233: [native] Add withDelay to reanimated flow types
Attached
Detach File
Event Timeline
Log In to Comment