Created
October 4, 2018 02:14
-
-
Save testshallpass/13f047205d1b966f55340b8962fe99c0 to your computer and use it in GitHub Desktop.
redux router example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default function AppContainer() { | |
return ( | |
<View style={AppStyles.container}> | |
<Provider store={store}> | |
<RouterWithRedux scenes={AppRoutes} style={AppStyles.appContainer}/> | |
</Provider> | |
<DropdownAlert ref={ref => DropDownHolder.setDropDown(ref)} closeInterval={6000}/> | |
</View> | |
); | |
} |
how we use this on our screens after this implementation. Please add an example
DropDownHolder.getDropDown().alertWithType('error', 'Title', 'Message')
Getting Can't find variable DropDownHolder
please give complete code
this shows blank white screen if not added inside routes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
how we use this on our screens after this implementation. Please add an example