Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use DefaultRenderer? #1995

Closed
xahon opened this issue Jul 9, 2017 · 1 comment
Closed

How to use DefaultRenderer? #1995

xahon opened this issue Jul 9, 2017 · 1 comment

Comments

@xahon
Copy link

xahon commented Jul 9, 2017

Is defaultrenderer a container for inner scenes?

     MasterScene                ( Component={ MasterSceneComponent } )  
     |          |  
     V          V  
InnerScene1    InnerScene2  
(initial)

If i understand right, MasterScene containing code below...

render () {
   return (
      <View>
         <Text>Hello from master scene</Text>
         <DefaultRenderer navigationState={ children[0] } onNavigate={ this.props.onNavigate }  />
      </View>
   )
}

will produce merged Master and Inner scene and Inner scene will be within defaultRender?
Without defaultrenderer element my scene won't rendering but with one it renders outside under that element and won't stretch it by its content. What should this element do? There is not enough information about that element in documentation.

@aksonov
Copy link
Owner

aksonov commented Jul 9, 2017 via email

@aksonov aksonov closed this as completed Jul 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants