feat: Add expense screen

This commit is contained in:
Jakob Stornig 2024-01-05 00:13:56 +01:00
parent e1efed5b21
commit 36679279c1
18 changed files with 459 additions and 57 deletions

View file

@ -1,6 +1,5 @@
import { View, Text, TouchableOpacity, TextInput, StyleSheet, NativeSyntheticEvent, TextInputKeyPressEventData } from 'react-native'
import React, {LegacyRef, MutableRefObject, useRef, useState} from 'react'
import colors from '../../constants/colors';
import { SIZES } from '../../constants/theme';
import { useTheme } from '../../app/contexts/ThemeContext';
@ -69,17 +68,15 @@ const AutoDecimalInput: React.FC<AutoDecimalInputProps> = ({onValueChange, label
}
const styles = StyleSheet.create({
container: {
margin: SIZES.normal,
},
inputContainer: {
minHeight: 50,
borderRadius: 20,
flexDirection: "row",
justifyContent: 'space-between'
justifyContent: 'space-between',
alignItems: "center"
},
text:{
fontSize: SIZES.large,
marginVertical: 12,
marginHorizontal: 15,
},
currency: {