implemented plus button on budget screen and routing for the plus button
This commit is contained in:
parent
85c737e66c
commit
6ee1c01d6a
6 changed files with 45 additions and 16 deletions
14
app/(tabs)/budget/_layout.tsx
Normal file
14
app/(tabs)/budget/_layout.tsx
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import { Stack } from "expo-router";
|
||||
import { useTheme } from "../../contexts/ThemeContext";
|
||||
|
||||
export default function _Layout() {
|
||||
const { colors } = useTheme();
|
||||
return (
|
||||
<Stack initialRouteName="index" screenOptions={{
|
||||
headerShown: false
|
||||
}}>
|
||||
<Stack.Screen name="index"/>
|
||||
<Stack.Screen name="addCategory"/>
|
||||
</Stack>
|
||||
);
|
||||
}
|
||||
Reference in a new issue