Resolve "Budget"

This commit is contained in:
Thomas Schleicher 2023-12-20 18:36:43 +00:00
parent ab2a03ba0b
commit 5a9b76a3ff
9 changed files with 60 additions and 33 deletions

View file

@ -1,7 +1,7 @@
import React from 'react'
import { Platform, StyleSheet, View } from 'react-native'
import { ViewProps } from 'react-native/Libraries/Components/View/ViewPropTypes'
import { useThemeColor } from '../../../hooks/useThemeColor'
import { useThemeColor } from '../../hooks/useThemeColor'
function generateBoxShadowStyle(
xOffset: number,

View file

@ -1,8 +1,8 @@
import { AntDesign } from '@expo/vector-icons';
import React from 'react';
import { StyleSheet, TextInput, TouchableOpacity, View, ViewProps } from 'react-native';
import { SIZES } from '../../../constants/theme';
import { useThemeColor } from '../../../hooks/useThemeColor';
import { SIZES } from '../../constants/theme';
import { useThemeColor } from '../../hooks/useThemeColor';
type SearchBarProps = {placeholder: string} & ViewProps

View file

@ -1,7 +1,7 @@
import { AntDesign } from '@expo/vector-icons'
import React from 'react'
import { StyleSheet, TouchableOpacity, ViewProps } from 'react-native'
import { useThemeColor } from '../../../hooks/useThemeColor'
import { useThemeColor } from '../../hooks/useThemeColor'
type PlusProps = ViewProps & {onPress? : ()=> void | undefined}

View file

@ -2,7 +2,7 @@ import React from 'react';
import { ColorValue, StyleSheet, Text, View } from 'react-native';
import { SIZES } from '../../../constants/theme';
import { useThemeColor } from '../../../hooks/useThemeColor';
import CustomCard from "../../common/customCard/CustomCard";
import CustomCard from "../../common/CustomCard";
export type ExpenseItemProps = {color: ColorValue, category: string, title: string, date: string, value : string}
export default function ExpenseItem(itemProps : ExpenseItemProps) {