Commit 05ff171a by Nguyễn Thị Thúy

complete calculator escrow and profit loss UI

parent 811b48c0
...@@ -11,7 +11,7 @@ import { ...@@ -11,7 +11,7 @@ import {
import {getFontXD, HEIGHTXD, WIDTHXD} from '../../Config/Functions'; import {getFontXD, HEIGHTXD, WIDTHXD} from '../../Config/Functions';
import R from '../../assets/R'; import R from '../../assets/R';
import ItemPrice from './ItemPrice'; import ItemPrice from './ItemPrice';
import {PRODUCTDETAIL, ESCROWCALCULATOR} from '../../routers/ScreenNames'; import {PRODUCTDETAIL} from '../../routers/ScreenNames';
import {useNavigation} from '@react-navigation/native'; import {useNavigation} from '@react-navigation/native';
const PriceListView = (props) => { const PriceListView = (props) => {
...@@ -74,7 +74,7 @@ const PriceListView = (props) => { ...@@ -74,7 +74,7 @@ const PriceListView = (props) => {
</TouchableOpacity> </TouchableOpacity>
</View>} </View>}
renderItem={({item}) => <ItemPrice item={item} renderItem={({item}) => <ItemPrice item={item}
onPress={() => navigate.navigate(ESCROWCALCULATOR, { onPress={() => navigate.navigate(PRODUCTDETAIL, {
id: item.id, id: item.id,
name: item.name, name: item.name,
})}/>} })}/>}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment