@@ -49,13 +49,12 @@ module SafeAreaFrameContext = {
49
49
module SafeAreaProvider = {
50
50
open ReactNative ;
51
51
include NativeElement ;
52
- type edgeInsets = View . edgeInsets ;
53
52
54
53
[@ react . component ] [@ bs . module "react-native-safe-area-context" ]
55
54
external make :
56
55
(
57
56
~initialMetrics : metrics =?,
58
- // View props
57
+ // View props 0.62.0
59
58
~accessibilityComponentType : [@ bs . string ] [
60
59
| ` none
61
60
| ` button
@@ -99,7 +98,7 @@ module SafeAreaProvider = {
99
98
~accessibilityViewIsModal : bool =?,
100
99
~accessible : bool =?,
101
100
~collapsable : bool =?,
102
- ~hitSlop : edgeInsets =?,
101
+ ~hitSlop : View . edgeInsets =?,
103
102
~importantForAccessibility : [@ bs . string ] [
104
103
| ` auto
105
104
| ` yes
@@ -156,15 +155,14 @@ module SafeAreaProvider = {
156
155
module SafeAreaView = {
157
156
open ReactNative ;
158
157
include NativeElement ;
159
- type edgeInsets = View . edgeInsets ;
160
158
161
159
[@ react . component ] [@ bs . module "react-native-safe-area-context" ]
162
160
external make :
163
161
(
164
162
~ref : ref =?,
165
163
~edges : array (string )=?,
166
164
~mode : [@ bs . string ] [ | ` padding | ` margin ] =?,
167
- // View props
165
+ // View props 0.62.0
168
166
~accessibilityComponentType : [@ bs . string ] [
169
167
| ` none
170
168
| ` button
@@ -208,7 +206,7 @@ module SafeAreaView = {
208
206
~accessibilityViewIsModal : bool =?,
209
207
~accessible : bool =?,
210
208
~collapsable : bool =?,
211
- ~hitSlop : edgeInsets =?,
209
+ ~hitSlop : View . edgeInsets =?,
212
210
~importantForAccessibility : [@ bs . string ] [
213
211
| ` auto
214
212
| ` yes
0 commit comments