File tree Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Expand file tree Collapse file tree 2 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -2,23 +2,23 @@ open ReactNative
22
33module Header = {
44 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 > ,
88 children : string ,
99 }
1010
1111 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 > ,
1616 }
1717
1818 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 > ,
2222 }
2323
2424 type headerBackgroundOptions = {style : option <Style .t >}
Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ type rec options = {
123123 headerShown ?: bool ,
124124 headerBackAllowFontScaling ?: bool ,
125125 headerBackAccessibilityLabel ?: string ,
126- headerBackImage ?: headerBackImageProps ,
126+ headerBackImage ?: headerBackImageProps => React . element ,
127127 headerBackTitle ?: string ,
128128 headerBackTitleVisible ?: bool ,
129129 headerTruncatedBackTitle ?: string ,
You can’t perform that action at this time.
0 commit comments