Skip to content

Commit f715ce7

Browse files
authored
Remove types module. (#488)
1 parent 236b5b0 commit f715ce7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+139
-130
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ type pressEventPayload = {
112112
113113
type pressEvent = responderSyntheticEvent(pressEventPayload);
114114
115-
type position = {
115+
type contentOffset = {
116116
.
117-
"y": float,
118117
"x": float,
118+
"y": float,
119119
};
120120
121121
type dimensions = {
@@ -134,7 +134,7 @@ type scrollEvent =
134134
"right": float,
135135
"top": float,
136136
},
137-
"contentOffset": position,
137+
"contentOffset": contentOffset,
138138
"contentSize": dimensions,
139139
"layoutMeasurement": dimensions,
140140
});

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,10 @@ type pressEventPayload = {
105105

106106
type pressEvent = responderSyntheticEvent(pressEventPayload);
107107

108-
type position = {
108+
type contentOffset = {
109109
.
110-
"y": float,
111110
"x": float,
111+
"y": float,
112112
};
113113

114114
type dimensions = {
@@ -127,7 +127,7 @@ type scrollEvent =
127127
"right": float,
128128
"top": float,
129129
},
130-
"contentOffset": position,
130+
"contentOffset": contentOffset,
131131
"contentSize": dimensions,
132132
"layoutMeasurement": dimensions,
133133
});

reason-react-native/src/components/ActivityIndicator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ external make:
5050
~accessibilityViewIsModal: bool=?,
5151
~accessible: bool=?,
5252
~collapsable: bool=?,
53-
~hitSlop: Types.edgeInsets=?,
53+
~hitSlop: View.edgeInsets=?,
5454
~importantForAccessibility: [@bs.string] [
5555
| `auto
5656
| `yes

reason-react-native/src/components/ActivityIndicator.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ external make:
4343
~accessibilityViewIsModal: bool=?,
4444
~accessible: bool=?,
4545
~collapsable: bool=?,
46-
~hitSlop: Types.edgeInsets=?,
46+
~hitSlop: View.edgeInsets=?,
4747
~importantForAccessibility: [@bs.string] [
4848
| `auto
4949
| `yes

reason-react-native/src/components/CheckBox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ external make:
5555
~accessibilityViewIsModal: bool=?,
5656
~accessible: bool=?,
5757
~collapsable: bool=?,
58-
~hitSlop: Types.edgeInsets=?,
58+
~hitSlop: View.edgeInsets=?,
5959
~importantForAccessibility: [@bs.string] [
6060
| `auto
6161
| `yes

reason-react-native/src/components/CheckBox.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ external make:
4848
~accessibilityViewIsModal: bool=?,
4949
~accessible: bool=?,
5050
~collapsable: bool=?,
51-
~hitSlop: Types.edgeInsets=?,
51+
~hitSlop: View.edgeInsets=?,
5252
~importantForAccessibility: [@bs.string] [
5353
| `auto
5454
| `yes

reason-react-native/src/components/DatePickerIOS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ external make:
6666
~accessibilityViewIsModal: bool=?,
6767
~accessible: bool=?,
6868
~collapsable: bool=?,
69-
~hitSlop: Types.edgeInsets=?,
69+
~hitSlop: View.edgeInsets=?,
7070
~importantForAccessibility: [@bs.string] [
7171
| `auto
7272
| `yes
@@ -108,4 +108,4 @@ external make:
108108
React.element =
109109
"DatePickerIOS";
110110
111-
```
111+
```

reason-react-native/src/components/DatePickerIOS.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ external make:
5959
~accessibilityViewIsModal: bool=?,
6060
~accessible: bool=?,
6161
~collapsable: bool=?,
62-
~hitSlop: Types.edgeInsets=?,
62+
~hitSlop: View.edgeInsets=?,
6363
~importantForAccessibility: [@bs.string] [
6464
| `auto
6565
| `yes

reason-react-native/src/components/DrawerLayoutAndroid.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ external make:
7171
~accessibilityViewIsModal: bool=?,
7272
~accessible: bool=?,
7373
~collapsable: bool=?,
74-
~hitSlop: Types.edgeInsets=?,
74+
~hitSlop: View.edgeInsets=?,
7575
~importantForAccessibility: [@bs.string] [
7676
| `auto
7777
| `yes

reason-react-native/src/components/DrawerLayoutAndroid.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ external make:
6464
~accessibilityViewIsModal: bool=?,
6565
~accessible: bool=?,
6666
~collapsable: bool=?,
67-
~hitSlop: Types.edgeInsets=?,
67+
~hitSlop: View.edgeInsets=?,
6868
~importantForAccessibility: [@bs.string] [
6969
| `auto
7070
| `yes

0 commit comments

Comments
 (0)