Нет описания

homeStack.js 711B

1234567891011121314151617181920212223242526272829303132333435
  1. import { createStackNavigator } from 'react-navigation-stack';
  2. import { createAppContainer } from 'react-navigation';
  3. import WelcomeScreen from './WelcomeScreen.js';
  4. import Listas from './Listas.js';
  5. import Productos from './Productos.js';
  6. import InputP from './ProductInput.js';
  7. import InputL from './ListInput.js';
  8. const screens = {
  9. Welcome: {
  10. screen: WelcomeScreen
  11. },
  12. Lists: {
  13. screen: Listas
  14. },
  15. Products: {
  16. screen: Productos
  17. },
  18. NewProduct: {
  19. screen: InputP
  20. },
  21. NewList: {
  22. screen: InputL
  23. },
  24. }
  25. const HomeStack = createStackNavigator(screens);
  26. export default createAppContainer(HomeStack);