Skip to content

Instantly share code, notes, and snippets.

@testshallpass
Created October 4, 2018 02:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save testshallpass/13f047205d1b966f55340b8962fe99c0 to your computer and use it in GitHub Desktop.
Save testshallpass/13f047205d1b966f55340b8962fe99c0 to your computer and use it in GitHub Desktop.
redux router example
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>
);
}
@cyb3rsalih
Copy link

cyb3rsalih commented Aug 31, 2020

how we use this on our screens after this implementation. Please add an example

@guilnorth
Copy link

how we use this on our screens after this implementation. Please add an example

DropDownHolder.getDropDown().alertWithType('error', 'Title', 'Message')

@ajaysaini-sgvu
Copy link

ajaysaini-sgvu commented Oct 14, 2022

Getting Can't find variable DropDownHolder

@KrushnaNaghate
Copy link

please give complete code

@yogendrajs
Copy link

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