Skip to content

Commit 572ba12

Browse files
committed
Fixing seds gone wrong
1 parent f3ee16f commit 572ba12

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

src/animatedRe.re

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ module Animations = {
7474
"iterations": Js.undefined(int)
7575
};
7676
external toValueRaw : Val.rawJsType => toValue = "%identity";
77-
external toValueAnimatedRe : Val.t => toValue = "%identity";
77+
external toValueAnimated : Val.t => toValue = "%identity";
7878
[@bs.module "react-native"] [@bs.scope "Animated"]
7979
external _spring : (Val.t, config) => CompositeAnimation.t =
8080
"spring";
@@ -103,7 +103,7 @@ module Animations = {
103103
"toValue":
104104
switch toValue {
105105
| `raw(x) => toValueRaw(x)
106-
| `animated(x) => toValueAnimatedRe(x)
106+
| `animated(x) => toValueAnimated(x)
107107
},
108108
"restDisplacementThreshold": from_opt(restDisplacementThreshold),
109109
"overshootClamping": from_opt(overshootClamping),
@@ -139,7 +139,7 @@ module Animations = {
139139
config =
140140
"";
141141
external toValueRaw : Val.rawJsType => toValue = "%identity";
142-
external toValueAnimatedRe : Val.t => toValue = "%identity";
142+
external toValueAnimated : Val.t => toValue = "%identity";
143143
[@bs.module "react-native"] [@bs.scope "Animated"]
144144
external _timing : (Val.t, config) => CompositeAnimation.t =
145145
"timing";
@@ -162,7 +162,7 @@ module Animations = {
162162
~toValue=
163163
switch toValue {
164164
| `raw(x) => toValueRaw(x)
165-
| `animated(x) => toValueAnimatedRe(x)
165+
| `animated(x) => toValueAnimated(x)
166166
},
167167
~easing?,
168168
~duration?,

src/private/panResponderRe.re

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,11 @@ let create =
7575
~onMoveShouldSetPanResponderCapture: option(callback(bool))=?,
7676
~onStartShouldSetPanResponder: option(callback(bool))=?,
7777
~onStartShouldSetPanResponderCapture: option(callback(bool))=?,
78-
~onPanResponderject: option(callback(unit))=?,
78+
~onPanResponderReject: option(callback(unit))=?,
7979
~onPanResponderGrant: option(callback(unit))=?,
8080
~onPanResponderStart: option(callback(unit))=?,
8181
~onPanResponderEnd: option(callback(unit))=?,
82-
~onPanResponderlease: option(callback(unit))=?,
82+
~onPanResponderRelease: option(callback(unit))=?,
8383
~onPanResponderMove=?,
8484
~onPanResponderTerminate: option(callback(unit))=?,
8585
~onPanResponderTerminationRequest: option(callback(bool))=?,
@@ -92,11 +92,11 @@ let create =
9292
"onStartShouldSetPanResponder": Js.Undefined.from_opt(onStartShouldSetPanResponder),
9393
"onStartShouldSetPanResponderCapture":
9494
Js.Undefined.from_opt(onStartShouldSetPanResponderCapture),
95-
"onPanResponderject": Js.Undefined.from_opt(onPanResponderject),
95+
"onPanResponderReject": Js.Undefined.from_opt(onPanResponderReject),
9696
"onPanResponderGrant": Js.Undefined.from_opt(onPanResponderGrant),
9797
"onPanResponderStart": Js.Undefined.from_opt(onPanResponderStart),
9898
"onPanResponderEnd": Js.Undefined.from_opt(onPanResponderEnd),
99-
"onPanResponderlease": Js.Undefined.from_opt(onPanResponderlease),
99+
"onPanResponderRelease": Js.Undefined.from_opt(onPanResponderRelease),
100100
"onPanResponderMove":
101101
switch onPanResponderMove {
102102
| None => Js.undefined

src/private/panResponderRe.rei

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ let create:
2323
~onMoveShouldSetPanResponderCapture: callback(bool)=?,
2424
~onStartShouldSetPanResponder: callback(bool)=?,
2525
~onStartShouldSetPanResponderCapture: callback(bool)=?,
26-
~onPanResponderject: callback(unit)=?,
26+
~onPanResponderReject: callback(unit)=?,
2727
~onPanResponderGrant: callback(unit)=?,
2828
~onPanResponderStart: callback(unit)=?,
2929
~onPanResponderEnd: callback(unit)=?,
30-
~onPanResponderlease: callback(unit)=?,
30+
~onPanResponderRelease: callback(unit)=?,
3131
~onPanResponderMove: [
3232
| `callback(callback(unit))
3333
| `update(

src/private/props.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ let extendView =
175175
accessibilityTraits
176176
)
177177
),
178-
"accessibilityViewReIsModal":
178+
"accessibilityViewIsModal":
179179
from_opt(UtilsRN.optBoolToOptJsBoolean(accessibilityViewIsModal)),
180180
"shouldRasterizeIOS": from_opt(UtilsRN.optBoolToOptJsBoolean(shouldRasterizeIOS))
181181
}

src/style.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,7 @@ let transformInterpolated =
441441

442442

443443
/***
444-
* ViewRe Props
444+
* View Props
445445
*/
446446
let backfaceVisibility = (v) =>
447447
stringStyle(

src/style.rei

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ type t;
44
/*** Generates a style out of an array of styles.
55
* This is equivalent:
66
* // js
7-
* <ViewRe style={[styleA, styleB]} />
7+
* <View style={[styleA, styleB]} />
88
* // reason
9-
* <ViewRe style=(Style.flatten [|styleA, styleB|]) />
9+
* <View style=(Style.flatten [|styleA, styleB|]) />
1010
*/
1111
let flatten: array(t) => t;
1212

@@ -229,7 +229,7 @@ let transformInterpolated:
229229

230230

231231
/***
232-
* ViewRe Props
232+
* View Props
233233
*/
234234
let backfaceVisibility: [ | `visible | `hidden] => style;
235235

0 commit comments

Comments
 (0)