File tree 2 files changed +11
-11
lines changed
2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -2,23 +2,23 @@ open ReactNative
2
2
3
3
module Header = {
4
4
type headerTitleProps = {
5
- allowFontScaling : bool ,
6
- tintColor : Color .t ,
7
- style : Style .t ,
5
+ allowFontScaling : option < bool > ,
6
+ tintColor : option < Color .t > ,
7
+ style : option < Style .t > ,
8
8
children : string ,
9
9
}
10
10
11
11
type headerLeftProps = {
12
- tintColor : Color .t ,
13
- pressColor : Color .t ,
14
- pressOpacity : float ,
15
- labelVisible : bool ,
12
+ tintColor : option < Color .t > ,
13
+ pressColor : option < Color .t > ,
14
+ pressOpacity : option < float > ,
15
+ labelVisible : option < bool > ,
16
16
}
17
17
18
18
type headerRightProps = {
19
- tintColor : Color .t ,
20
- pressColor : Color .t ,
21
- pressOpacity : float ,
19
+ tintColor : option < Color .t > ,
20
+ pressColor : option < Color .t > ,
21
+ pressOpacity : option < float > ,
22
22
}
23
23
24
24
type headerBackgroundOptions = {style : option <Style .t >}
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ type rec options = {
123
123
headerShown ?: bool ,
124
124
headerBackAllowFontScaling ?: bool ,
125
125
headerBackAccessibilityLabel ?: string ,
126
- headerBackImage ?: headerBackImageProps ,
126
+ headerBackImage ?: headerBackImageProps => React . element ,
127
127
headerBackTitle ?: string ,
128
128
headerBackTitleVisible ?: bool ,
129
129
headerTruncatedBackTitle ?: string ,
You can’t perform that action at this time.
0 commit comments