Skip to content

Commit caf9a33

Browse files
committed
Screen: fix getId prop
1 parent 8b89d20 commit caf9a33

6 files changed

+6
-6
lines changed

src/BottomTabs.res

+1-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ module type NavigatorModule = {
108108
~navigationKey: string=?,
109109
~options: screenOptionsParams => options=?,
110110
~initialParams: 'params=?,
111-
~getId: getIdOptions=?,
111+
~getId: getIdOptions => option<string>=?,
112112
~component: React.component<screenProps>=?,
113113
~getComponent: unit => React.component<screenProps>=?,
114114
~children: screenProps => React.element=?,

src/Drawer.res

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ module type NavigatorModule = {
116116
~navigationKey: string=?,
117117
~options: screenOptionsParams => options=?,
118118
~initialParams: 'params=?,
119-
~getId: getIdOptions=?,
119+
~getId: getIdOptions => option<string>=?,
120120
~component: React.component<screenProps>=?,
121121
~getComponent: unit => React.component<screenProps>=?,
122122
~children: screenProps => React.element=?,

src/MaterialBottomTabs.res

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ module type NavigatorModule = {
5151
~navigationKey: string=?,
5252
~options: screenOptionsParams => options=?,
5353
~initialParams: 'params=?,
54-
~getId: getIdOptions=?,
54+
~getId: getIdOptions => option<string>=?,
5555
~component: React.component<screenProps>=?,
5656
~getComponent: unit => React.component<screenProps>=?,
5757
~children: screenProps => React.element=?,

src/MaterialTopTabs.res

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ module type NavigatorModule = {
101101
~navigationKey: string=?,
102102
~options: screenOptionsParams => options=?,
103103
~initialParams: 'params=?,
104-
~getId: getIdOptions=?,
104+
~getId: getIdOptions => option<string>=?,
105105
~component: React.component<screenProps>=?,
106106
~getComponent: unit => React.component<screenProps>=?,
107107
~children: screenProps => React.element=?,

src/NativeStack.res

+1-1
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ module type NavigatorModule = {
190190
~navigationKey: string=?,
191191
~options: screenOptionsParams => options=?,
192192
~initialParams: 'params=?,
193-
~getId: getIdOptions=?,
193+
~getId: getIdOptions => option<string>=?,
194194
~component: React.component<screenProps>=?,
195195
~getComponent: unit => React.component<screenProps>=?,
196196
~children: screenProps => React.element=?,

src/Stack.res

+1-1
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ module type NavigatorModule = {
174174
~navigationKey: string=?,
175175
~options: screenOptionsParams => options=?,
176176
~initialParams: 'params=?,
177-
~getId: getIdOptions=?,
177+
~getId: getIdOptions => option<string>=?,
178178
~component: React.component<screenProps>=?,
179179
~getComponent: unit => React.component<screenProps>=?,
180180
~children: screenProps => React.element=?,

0 commit comments

Comments
 (0)