restore repo

This commit is contained in:
PanSi21 2024-11-19 02:04:30 +01:00
parent 97e8ee6eb8
commit f2a798ab18
Signed by untrusted user who does not match committer: PanSi21
GPG key ID: 755F8874C65EF462
30 changed files with 1627 additions and 2 deletions

20
app/(tabs)/two.tsx Normal file
View file

@ -0,0 +1,20 @@
import { StyleSheet } from 'react-native';
import { Text, View } from '@/components/Themed';
import TransactionAdd from '@/components/transaction/TransactionAdd';
import { useState } from 'react';
export default function TabTwoScreen() {
const [refreshKey, setRefreshKey] = useState(0);
const handleTransactionAdded = () => {
setRefreshKey(oldKey => oldKey + 1);
};
return (
<View>
<TransactionAdd onTransactionAdded={handleTransactionAdded} />
</View>
);
}
const styles = StyleSheet.create({
});