@eohjsc/react-native-smart-city 0.7.3-rc13 → 0.7.3-rc14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,16 +1,15 @@
|
|
|
1
|
+
import { IconOutline } from '@ant-design/icons-react-native';
|
|
1
2
|
import React, { memo, useCallback, useMemo, useState } from 'react';
|
|
2
3
|
import { TouchableOpacity, View } from 'react-native';
|
|
3
|
-
import { IconOutline } from '@ant-design/icons-react-native';
|
|
4
|
-
import MaterialCommunityIcons from 'react-native-vector-icons/MaterialCommunityIcons';
|
|
5
4
|
|
|
6
5
|
import styles from './styles';
|
|
7
6
|
|
|
8
7
|
import { Section, Text } from '../../../../commons';
|
|
9
|
-
import VisualChart from '../../../Device/components/VisualChart';
|
|
10
|
-
import { useTranslations } from '../../../../hooks/Common/useTranslations';
|
|
11
|
-
import { useWatchConfigs } from '../../../../hooks/IoT';
|
|
12
8
|
import { Colors } from '../../../../configs';
|
|
13
9
|
import AccessibilityLabel from '../../../../configs/AccessibilityLabel';
|
|
10
|
+
import { useTranslations } from '../../../../hooks/Common/useTranslations';
|
|
11
|
+
import { useWatchConfigs } from '../../../../hooks/IoT';
|
|
12
|
+
import VisualChart from '../../../Device/components/VisualChart';
|
|
14
13
|
import SegmentedRoundChart from './SegmentedRoundChart';
|
|
15
14
|
|
|
16
15
|
const AirQuality = memo(({ summaryDetail }) => {
|
|
@@ -122,11 +121,7 @@ const AirQuality = memo(({ summaryDetail }) => {
|
|
|
122
121
|
{<SegmentedRoundChart data={outdoor} />}
|
|
123
122
|
{!!advices?.length && (
|
|
124
123
|
<View style={styles.boxHealth}>
|
|
125
|
-
<
|
|
126
|
-
name="alert-circle-outline"
|
|
127
|
-
size={20}
|
|
128
|
-
style={styles.iconMargin}
|
|
129
|
-
/>
|
|
124
|
+
<IconOutline name="alert" size={20} style={styles.iconMargin} />
|
|
130
125
|
<Text semibold color={Colors.Gray9} type="H4">
|
|
131
126
|
{t('Health advices:')}
|
|
132
127
|
</Text>
|