Skip to content
This repository has been archived by the owner on Nov 30, 2018. It is now read-only.

[Bug Fix] Header Style on IOS #119

Merged
merged 1 commit into from
Jul 23, 2018

Conversation

broerjuang
Copy link
Contributor

I try to tackle the issue on #116 . I think it's because the headerStyle props never get passed to SafeAreaView.
So, here's the result after I define the style on Home.

    <StackNavigator.Screen
      headerTitle="Homes"
      navigation=nav
      headerStyle=Style.(style([backgroundColor(String("red"))]))>
      ...(
           () =>
             <View style=Styles.continer>
               <Text style=Styles.title>
                 (ReasonReact.string("Home screen"))
               </Text>
               (renderButtons(nav))
             </View>
         )
    </StackNavigator.Screen>,

simulator screen shot - iphone 6 - 2018-07-23 at 00 43 41

@knowbody
Copy link
Contributor

Thank you!

@knowbody knowbody merged commit 8233ef7 into callstackincubator:master Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants