File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -18,14 +18,16 @@ module TabBarBadge = {
1818 external string : string => t = "%identity"
1919}
2020
21- @unboxed
22- type rec tabBarLabel = String (string ) | Function (tabBarLabelArgs => React .element )
23- and tabBarLabelArgs = {
21+ type tabBarLabelArgs = {
2422 focused : bool ,
2523 color : string ,
2624 position : tabBarLabelPosition ,
25+ children : string ,
2726}
2827
28+ @unboxed
29+ type tabBarLabel = String (string ) | Function (tabBarLabelArgs => React .element )
30+
2931type rec options = {
3032 title ?: string ,
3133 tabBarLabel ?: tabBarLabel ,
Original file line number Diff line number Diff line change @@ -16,9 +16,14 @@ module TabBarBadge = {
1616 external string : string => t = "%identity"
1717}
1818
19+ type tabBarLabelArgs = {
20+ focused : bool ,
21+ color : string ,
22+ children : string ,
23+ }
24+
1925@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 )
2227
2328type options = {
2429 title ?: string ,
You can’t perform that action at this time.
0 commit comments