-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Show date, inflow and outflow in transaction item
- Add styles to the title and subtitle - Update proptypes (+2 squashed commits) - Get the date instead of description from firebase
- Loading branch information
Showing
4 changed files
with
67 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,27 @@ | ||
import colors from '../../config/colors' | ||
import { StyleSheet } from 'react-native' | ||
|
||
const styles = StyleSheet.create({}) | ||
const styles = StyleSheet.create({ | ||
subtitle: { | ||
flex: 1, | ||
flexDirection: 'row' | ||
}, | ||
title: { | ||
flex: 1, | ||
fontSize: 20 | ||
}, | ||
date: { | ||
flex: 1, | ||
color: '#808080' | ||
}, | ||
inflow: { | ||
flex: 1, | ||
color: colors.primary, | ||
}, | ||
outflow: { | ||
flex: 1, | ||
color: '#ff0000', | ||
} | ||
}) | ||
|
||
export default styles |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters