-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24235 from Expensify/andrewli-displayreceipts
Display receipts in chat
- Loading branch information
Showing
28 changed files
with
724 additions
and
188 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
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
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 |
---|---|---|
@@ -0,0 +1,37 @@ | ||
import React from 'react'; | ||
import {View} from 'react-native'; | ||
import styles from '../styles/styles'; | ||
import useLocalize from '../hooks/useLocalize'; | ||
import Text from './Text'; | ||
|
||
function MoneyRequestHeaderStatusBar() { | ||
const {translate} = useLocalize(); | ||
|
||
return ( | ||
<View | ||
style={[ | ||
styles.dFlex, | ||
styles.flexRow, | ||
styles.alignItemsCenter, | ||
styles.flexGrow1, | ||
styles.justifyContentBetween, | ||
styles.overflowHidden, | ||
styles.ph5, | ||
styles.pv3, | ||
styles.borderBottom, | ||
styles.w100, | ||
]} | ||
> | ||
<View style={[styles.moneyRequestHeaderStatusBarBadge]}> | ||
<Text style={[styles.textStrong, styles.textLabel]}>{translate('iou.receiptStatusTitle')}</Text> | ||
</View> | ||
<View style={[styles.flexShrink1]}> | ||
<Text style={[styles.textLabelSupporting]}>{translate('iou.receiptStatusText')}</Text> | ||
</View> | ||
</View> | ||
); | ||
} | ||
|
||
MoneyRequestHeaderStatusBar.displayName = 'MoneyRequestHeaderStatusBar'; | ||
|
||
export default MoneyRequestHeaderStatusBar; |
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
Oops, something went wrong.