From 93eacbbc34c59ae0ad4c3b9bed2ccea22e4b685a Mon Sep 17 00:00:00 2001 From: Kyle Fang Date: Sun, 12 May 2019 10:16:27 +0800 Subject: [PATCH] chore: using fluid navigator --- App.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/App.js b/App.js index bc2c16b..0b1067b 100644 --- a/App.js +++ b/App.js @@ -6,9 +6,10 @@ * @flow */ -import React, {Component} from 'react'; -import {Button, Platform, StyleSheet, Text, View} from 'react-native'; -import {createAppContainer, createStackNavigator} from 'react-navigation'; +import React from 'react'; +import {Button, StyleSheet, View} from 'react-native'; +import {createAppContainer} from 'react-navigation'; +import {createFluidNavigator} from "react-navigation-fluid-transitions"; const PageA = ({navigation}) => ( @@ -19,9 +20,6 @@ const PageA = ({navigation}) => ( const PageB = () => (