File tree 2 files changed +12
-5
lines changed
2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,16 @@ module TabBarBadge = {
18
18
external string : string => t = "%identity"
19
19
}
20
20
21
- @unboxed
22
- type rec tabBarLabel = String (string ) | Function (tabBarLabelArgs => React .element )
23
- and tabBarLabelArgs = {
21
+ type tabBarLabelArgs = {
24
22
focused : bool ,
25
23
color : string ,
26
24
position : tabBarLabelPosition ,
25
+ children : string ,
27
26
}
28
27
28
+ @unboxed
29
+ type tabBarLabel = String (string ) | Function (tabBarLabelArgs => React .element )
30
+
29
31
type rec options = {
30
32
title ?: string ,
31
33
tabBarLabel ?: tabBarLabel ,
Original file line number Diff line number Diff line change @@ -16,9 +16,14 @@ module TabBarBadge = {
16
16
external string : string => t = "%identity"
17
17
}
18
18
19
+ type tabBarLabelArgs = {
20
+ focused : bool ,
21
+ color : string ,
22
+ children : string ,
23
+ }
24
+
19
25
@unboxed
20
- type rec tabBarLabel = String (string ) | Function (tabBarLabelArgs => React .element )
21
- and tabBarLabelArgs = {focused : bool , color : string }
26
+ type tabBarLabel = String (string ) | Function (tabBarLabelArgs => React .element )
22
27
23
28
type options = {
24
29
title ?: string ,
You can’t perform that action at this time.
0 commit comments