root-two / react-native-drawer

React Native Drawer
MIT License
2.54k stars 390 forks source link

How to integrate with react-native-router-flux? #271

Open realtebo opened 7 years ago

realtebo commented 7 years ago

Actually I've these scenes defined:

const scenes = Actions.create(
  <Scene key="root" hideNavBar open={false} >
    <Scene key="splashBucket">
      <Scene key="splashScene" component={SplashScreen} title="Splash Screen Title" hideNavBar />
    </Scene>
    <Scene key="authBucket">
      <Scene key="authScene" component={AuthForm} title="Accesso" hideNavBar={false} />
    </Scene>
    <Scene key="mainBucket" hideNavBar={false}>
      <Scene key="schedule" component={Schedule} title="Impegni"  />
      <Scene key="peopleList" component={PeopleList} title="Lista pesone"/>
    </Scene>
  </Scene>
);

const AppRoutes = () => (
  <Router 
    sceneStyle={{ paddingTop: 65 }} 
    scenes={scenes}
  />
);

export default AppRoutes;

I want your Drawer wrapped around the mainBucket scenes. How to procede ?

elieteyssedou commented 7 years ago

I suggest you to take a look at https://github.com/infinitered/ignite, it is a CLI that generates React-Native apps with using both react-native-drawer and react-native-router-flux.

Hope it helps.

AishwaryaSurana commented 7 years ago

@realtebo are you able to integrate?

realtebo commented 7 years ago

@AishwaryaSurana No, I definetively switched to https://wix.github.io/react-native-navigation

realtebo commented 6 years ago

@AishwaryaSurana No, I definetively switched to React Native Navigation - truly native navigation for iOS and Android

React Native Navigation - truly native navigation for iOS and Android React Native Navigation - truly native navigation for iOS and Android | |

|

Il Martedì 5 Dicembre 2017 22:11, Eduardo Vazquez <notifications@github.com> ha scritto:

@realtebo did you find an example in the documentation to implement it?— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

| | Mail priva di virus. www.avast.com |