File tree Expand file tree Collapse file tree
reason-react-native/src/apis Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -202,6 +202,8 @@ module ValueXY = {
202202 };
203203 });
204204
205+ [@bs.obj] external jsValue: (~x: float, ~y: float) => jsValue = "";
206+
205207 type translateTransform = {
206208 .
207209 "translateX": Value.t,
@@ -236,9 +238,11 @@ type loopConfig;
236238
237239[@bs.obj] external loopConfig: (~iterations: int) => loopConfig = "";
238240
241+ // multiple externals
239242[@bs.module "react-native"] [@bs.scope "Animated"]
240243external loop: Animation.t => Animation.t = "";
241244
245+ // multiple externals
242246[@bs.module "react-native"] [@bs.scope "Animated"]
243247external loopWithConfig: (Animation.t, loopConfig) => Animation.t = "loop";
244248
Original file line number Diff line number Diff line change @@ -195,6 +195,8 @@ module ValueXY = {
195195 };
196196 });
197197
198+ [@ bs . obj ] external jsValue : (~x : float , ~y : float ) => jsValue = "" ;
199+
198200 type translateTransform = {
199201 .
200202 "translateX": Value . t ,
@@ -229,9 +231,11 @@ type loopConfig;
229231
230232[@ bs . obj ] external loopConfig : (~iterations : int ) => loopConfig = "" ;
231233
234+ // multiple externals
232235[@ bs . module "react-native" ] [@ bs . scope "Animated" ]
233236external loop : Animation . t => Animation . t = "" ;
234237
238+ // multiple externals
235239[@ bs . module "react-native" ] [@ bs . scope "Animated" ]
236240external loopWithConfig : (Animation . t , loopConfig ) => Animation . t = "loop" ;
237241
You can’t perform that action at this time.
0 commit comments