Skip to content

Commit 4d90e30

Browse files
cknittMoOx
authored andcommitted
Fix Types.edgeInsets to match Flow types. (#430)
1 parent 8a3a4d4 commit 4d90e30

53 files changed

Lines changed: 95 additions & 98 deletions

Some content is hidden

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

‎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.insets=?,
53+
~hitSlop: Types.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.insets=?,
46+
~hitSlop: Types.edgeInsets=?,
4747
~importantForAccessibility: [@bs.string] [
4848
| `auto
4949
| `yes

‎reason-react-native/src/components/FlatList.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ external make:
7070
~canCancelContentTouches: bool=?,
7171
~centerContent: bool=?,
7272
~contentContainerStyle: Style.t=?,
73-
~contentInset: Types.insets=?,
73+
~contentInset: Types.edgeInsets=?,
7474
~contentInsetAdjustmentBehavior: [@bs.string] [
7575
| `automatic
7676
| `scrollableAxes
@@ -100,7 +100,7 @@ external make:
100100
~refreshControl: React.element=?,
101101
~scrollEnabled: bool=?,
102102
~scrollEventThrottle: int=?,
103-
~scrollIndicatorInsets: Types.insets=?,
103+
~scrollIndicatorInsets: Types.edgeInsets=?,
104104
~scrollPerfTag: string=?,
105105
~scrollsToTop: bool=?,
106106
~scrollToOverflowEnabled: bool=?,
@@ -145,7 +145,7 @@ external make:
145145
~accessibilityViewIsModal: bool=?,
146146
~accessible: bool=?,
147147
~collapsable: bool=?,
148-
~hitSlop: Types.insets=?,
148+
~hitSlop: Types.edgeInsets=?,
149149
~importantForAccessibility: [@bs.string] [
150150
| `auto
151151
| `yes

‎reason-react-native/src/components/FlatList.re‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ external make:
6363
~canCancelContentTouches: bool=?,
6464
~centerContent: bool=?,
6565
~contentContainerStyle: Style.t=?,
66-
~contentInset: Types.insets=?,
66+
~contentInset: Types.edgeInsets=?,
6767
~contentInsetAdjustmentBehavior: [@bs.string] [
6868
| `automatic
6969
| `scrollableAxes
@@ -93,7 +93,7 @@ external make:
9393
~refreshControl: React.element=?,
9494
~scrollEnabled: bool=?,
9595
~scrollEventThrottle: int=?,
96-
~scrollIndicatorInsets: Types.insets=?,
96+
~scrollIndicatorInsets: Types.edgeInsets=?,
9797
~scrollPerfTag: string=?,
9898
~scrollsToTop: bool=?,
9999
~scrollToOverflowEnabled: bool=?,
@@ -138,7 +138,7 @@ external make:
138138
~accessibilityViewIsModal: bool=?,
139139
~accessible: bool=?,
140140
~collapsable: bool=?,
141-
~hitSlop: Types.insets=?,
141+
~hitSlop: Types.edgeInsets=?,
142142
~importantForAccessibility: [@bs.string] [
143143
| `auto
144144
| `yes

‎reason-react-native/src/components/Image.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ external make:
8181
~accessibilityLabel: string=?,
8282
~accessible: bool=?,
8383
~blurRadius: float=?,
84-
~capInsets: Types.insets=?,
84+
~capInsets: Types.edgeInsets=?,
8585
~defaultSource: DefaultSource.t=?,
8686
~onPartialLoad: unit => unit=?,
8787
~onProgress: progress => unit=?

‎reason-react-native/src/components/Image.re‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ external make:
7474
~accessibilityLabel: string=?,
7575
~accessible: bool=?,
7676
~blurRadius: float=?,
77-
~capInsets: Types.insets=?,
77+
~capInsets: Types.edgeInsets=?,
7878
~defaultSource: DefaultSource.t=?,
7979
~onPartialLoad: unit => unit=?,
8080
~onProgress: progress => unit=?

‎reason-react-native/src/components/ImageBackground.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ external make:
6363
~accessibilityLabel: string=?,
6464
~accessible: bool=?,
6565
~blurRadius: float=?,
66-
~capInsets: Types.insets=?,
66+
~capInsets: Types.edgeInsets=?,
6767
~defaultSource: Image.DefaultSource.t=?,
6868
~onPartialLoad: unit => unit=?,
6969
~onProgress: Image.progress => unit=?,

‎reason-react-native/src/components/ImageBackground.re‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ external make:
5656
~accessibilityLabel: string=?,
5757
~accessible: bool=?,
5858
~blurRadius: float=?,
59-
~capInsets: Types.insets=?,
59+
~capInsets: Types.edgeInsets=?,
6060
~defaultSource: Image.DefaultSource.t=?,
6161
~onPartialLoad: unit => unit=?,
6262
~onProgress: Image.progress => unit=?,

‎reason-react-native/src/components/KeyboardAvoidingView.md‎

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

‎reason-react-native/src/components/KeyboardAvoidingView.re‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ external make:
3737
~accessibilityViewIsModal: bool=?,
3838
~accessible: bool=?,
3939
~collapsable: bool=?,
40-
~hitSlop: Types.insets=?,
40+
~hitSlop: Types.edgeInsets=?,
4141
~importantForAccessibility: [@bs.string] [
4242
| `auto
4343
| `yes

0 commit comments

Comments
 (0)