Add tag-adding logic
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -7,7 +7,7 @@ import FontAwesome5 from 'react-native-vector-icons/FontAwesome5';
|
||||
import { createBottomTabNavigator } from '@react-navigation/bottom-tabs';
|
||||
import { createNativeStackNavigator } from '@react-navigation/native-stack';
|
||||
import { BottomNavigation, Portal, useTheme } from 'react-native-paper';
|
||||
import { Home, Tags, Settings, AddItem } from './screens';
|
||||
import { Home, Tags, Settings, AddMeme, AddTag } from './screens';
|
||||
import { horizontalScale } from './styles';
|
||||
import { FloatingActionButton } from './components';
|
||||
import { darkNavigationTheme, lightNavigationTheme } from './theme';
|
||||
@@ -105,8 +105,13 @@ const NavigationContainer = () => {
|
||||
<StackNavigatorBase.Navigator screenOptions={{ headerShown: false }}>
|
||||
<StackNavigatorBase.Screen name="Main" component={TabNavigator} />
|
||||
<StackNavigatorBase.Screen
|
||||
name="Add Item"
|
||||
component={AddItem}
|
||||
name="Add Meme"
|
||||
component={AddMeme}
|
||||
options={{ animation: 'slide_from_bottom' }}
|
||||
/>
|
||||
<StackNavigatorBase.Screen
|
||||
name="Add Tag"
|
||||
component={AddTag}
|
||||
options={{ animation: 'slide_from_bottom' }}
|
||||
/>
|
||||
</StackNavigatorBase.Navigator>
|
||||
|
Reference in New Issue
Block a user