From 7fd9c698f4fd427ac1e0301141131d486f9b94cf Mon Sep 17 00:00:00 2001 From: "aishwarya.srivastava" Date: Wed, 19 Feb 2025 20:11:02 +0530 Subject: [PATCH] NTP-39327| removed inline css --- src/screens/addressGeolocation/AddressItem.tsx | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/screens/addressGeolocation/AddressItem.tsx b/src/screens/addressGeolocation/AddressItem.tsx index 1204c537..b444d5cd 100644 --- a/src/screens/addressGeolocation/AddressItem.tsx +++ b/src/screens/addressGeolocation/AddressItem.tsx @@ -64,7 +64,7 @@ function AddressItem({ showOpenMap = false, showCopy = true, isSkipTracing = false, - showAddressSource= false, + showAddressSource = false, }: IAddressItem) { const { currentGeolocationCoordinates, prefilledAddressScreenTemplate } = useAppSelector( (state) => ({ @@ -255,10 +255,10 @@ function AddressItem({ GenericStyles.mb2, GenericStyles.row, GenericStyles.wrap, - styles.addressSourceContainer, + styles.addressContainer, ]} > - + {dayjs(addressItem?.createdAt).format('DD MMM, YYYY')} - + {addressItem?.secondarySource} @@ -375,7 +375,7 @@ const styles = StyleSheet.create({ color: COLORS.TEXT.BLUE, opacity: 0.5, }, - addressSourceContainer: { + addressContainer: { alignItems: 'center', }, dot: { @@ -385,6 +385,10 @@ const styles = StyleSheet.create({ marginHorizontal: 8, backgroundColor: COLORS.TEXT.LIGHT, }, + addressSource: { + fontSize: 12, + fontWeight: 'bold', + }, }); export default AddressItem;