Skip to content

Commit 2ce9a0b

Browse files
cknittsgny
authored andcommitted
Fix Animated.loop binding. (#459)
1 parent ecf44f1 commit 2ce9a0b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

reason-react-native/src/apis/Animated.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ type loopConfig;
252252
external loop: Animation.t => Animation.t = "";
253253
254254
[@bs.module "react-native"] [@bs.scope "Animated"]
255-
external loopWithConfig: (Animation.t, loopConfig) => Animation.t = "";
255+
external loopWithConfig: (Animation.t, loopConfig) => Animation.t = "loop";
256256
257257
type animatedEvent;
258258

reason-react-native/src/apis/Animated.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ type loopConfig;
245245
external loop: Animation.t => Animation.t = "";
246246

247247
[@bs.module "react-native"] [@bs.scope "Animated"]
248-
external loopWithConfig: (Animation.t, loopConfig) => Animation.t = "";
248+
external loopWithConfig: (Animation.t, loopConfig) => Animation.t = "loop";
249249

250250
type animatedEvent;
251251

0 commit comments

Comments
 (0)