daily pastebin goal
42%
SHARE
TWEET

Untitled

a guest Feb 13th, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const RootStack = StackNavigator({
  2.   RootTab: { screen: RootTab },
  3.   RootTwo: { screen: RootTwo },
  4. });
  5. const RootTab = TabNavigator({
  6.   ChildStack: { screen: ChildStack }
  7. });
  8. const ChildStack = StackNavigator({
  9.   UserScreen: { screen: UserScreen }
  10. });
  11.    
  12. const RootStack = StackNavigator({
  13.   RootTab: { screen: WrapperRootTab },
  14.   RootTwo: { screen: RootTwo },
  15. });
  16. const RootTab = TabNavigator({
  17.   ChildStack: { screen: ChildStack }
  18. });
  19. class WrapperRootTab extends React.Component{
  20.   render(){return <RootTab/>}
  21. }
  22. const ChildStack = StackNavigator({
  23.   UserScreen: { screen: UserScreen }
  24. });
RAW Paste Data
Top