NTP-39327| removed inline css
This commit is contained in:
@@ -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,
|
||||
]}
|
||||
>
|
||||
<Text numberOfLines={1} style={{ fontSize: 12 }}>
|
||||
<Text numberOfLines={1} style={GenericStyles.fontSize12}>
|
||||
{dayjs(addressItem?.createdAt).format('DD MMM, YYYY')}
|
||||
</Text>
|
||||
<View
|
||||
@@ -267,10 +267,10 @@ function AddressItem({
|
||||
GenericStyles.row,
|
||||
GenericStyles.wrap,
|
||||
styles.dot,
|
||||
{ marginHorizontal: 8 },
|
||||
GenericStyles.mh8,
|
||||
]}
|
||||
/>
|
||||
<Text dark numberOfLines={1} style={{ fontSize: 12, fontWeight: 'bold' }}>
|
||||
<Text dark numberOfLines={1} style={styles.addressSource}>
|
||||
{addressItem?.secondarySource}
|
||||
</Text>
|
||||
</View>
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user