5776407e73
feat: create HomeScreen
...
- Integrate all components together
- Use useTransactions hook
- Use calculateBalance utility
- Add loading state handling
2026-04-18 12:22:03 +07:00
8d3c4796ea
feat: add deleteTransaction function
...
- Add deleteTransaction callback to hook
- Use filter to remove by id
- Save to AsyncStorage after delete
2026-04-18 12:21:53 +07:00
2b532c7472
feat: add addTransaction function
...
- Add addTransaction callback to hook
- Use useCallback for performance
- Save to AsyncStorage on add
2026-04-18 12:21:41 +07:00
9e41d16f8a
feat: create useTransactions hook
...
- Add useState for transactions array
- Add useEffect to load from AsyncStorage
- Add loading state
2026-04-18 12:21:28 +07:00
0f9a502289
feat: create TransactionList component
...
- Display transactions with FlatList
- Add onDelete callback prop
- Show category, date, amount
- Conditional styling for income/expense
- Empty state handling
2026-04-18 12:21:17 +07:00
513e2efdbc
feat: create TransactionForm component
...
- Add useState hooks for form inputs
- Add type selector (income/expense)
- Add TextInput components
- Add category selector with ScrollView
- Add TouchableOpacity for buttons
2026-04-18 12:21:04 +07:00
f68db8c4d0
feat: create BalanceCard component
...
- Display income, expense, and total balance
- Use BalanceInfo props interface
- Conditional styling for income/expense colors
2026-04-18 12:20:51 +07:00
f8b2efa728
feat: create Header component
...
- Add Header component with title prop
- Style with primary color background
- Learn: React.FC, interface props, StyleSheet
2026-04-18 12:20:41 +07:00
d1b344df42
feat: add helper utility functions
...
- Add formatRupiah for currency formatting
- Add formatDate for date formatting
- Add calculateBalance to compute totals
- Add generateId for unique IDs
- Add getCurrentDate for timestamp
2026-04-18 12:20:18 +07:00
5de3a82e56
feat: add theme constants
...
- Add COLORS for income, expense, background, etc.
- Add FONTS for regular, small, large sizes
2026-04-18 12:20:08 +07:00
62cd085b25
feat: setup project and add types
...
- Install @react-native-async-storage/async-storage package
- Add Transaction interface
- Add BalanceInfo interface
2026-04-18 12:19:52 +07:00
51e87a4d55
Initial commit
...
Generated by create-expo-app 3.5.3.
2026-04-18 12:01:53 +07:00