Commit Graph

7 Commits

Author SHA1 Message Date
fa073d2c9a refactor: add getCategoryLabel helper
- Import CATEGORIES from types
- Add getCategoryLabel function
- Display category label instead of id
2026-04-18 12:24:19 +07:00
44f8f57d4a refactor: use CATEGORIES from types
- Import CATEGORIES from types/index
- Map category.label for display
- Use category.id for state
2026-04-18 12:24:06 +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
51e87a4d55 Initial commit
Generated by create-expo-app 3.5.3.
2026-04-18 12:01:53 +07:00