ordering-ui-react-native 0.21.30 → 0.21.31-test
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
|
@@ -126,46 +126,46 @@ const NewOrderNotificationUI = (props: any) => {
|
|
|
126
126
|
}, [])
|
|
127
127
|
|
|
128
128
|
useEffect(() => {
|
|
129
|
-
return () =>
|
|
130
|
-
handleCloseEvents()
|
|
131
|
-
}
|
|
129
|
+
return () => handleCloseEvents()
|
|
132
130
|
}, [])
|
|
133
131
|
|
|
134
132
|
return (
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
<
|
|
142
|
-
<
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
133
|
+
<>
|
|
134
|
+
<Modal
|
|
135
|
+
animationType='slide'
|
|
136
|
+
transparent={true}
|
|
137
|
+
visible={!!currentEvent?.orderId}
|
|
138
|
+
>
|
|
139
|
+
<NotificationContainer>
|
|
140
|
+
<View style={styles.modalView}>
|
|
141
|
+
<TouchableOpacity
|
|
142
|
+
style={styles.wrapperIcon}
|
|
143
|
+
onPress={() => handleCloseEvents()}
|
|
144
|
+
>
|
|
145
|
+
<Icon name="x" size={30} />
|
|
146
|
+
</TouchableOpacity>
|
|
147
|
+
<OText
|
|
148
|
+
size={18}
|
|
149
|
+
color={theme.colors.textGray}
|
|
150
|
+
weight={600}
|
|
151
|
+
>
|
|
152
|
+
{evtList[currentEvent?.evt]?.message}
|
|
153
|
+
</OText>
|
|
154
|
+
<OIcon
|
|
155
|
+
src={theme.images.general.newOrder}
|
|
156
|
+
width={250}
|
|
157
|
+
height={200}
|
|
158
|
+
/>
|
|
159
|
+
<OText
|
|
160
|
+
color={theme.colors.textGray}
|
|
161
|
+
mBottom={15}
|
|
162
|
+
>
|
|
163
|
+
{evtList[currentEvent?.evt]?.message2}
|
|
164
|
+
</OText>
|
|
165
|
+
</View>
|
|
166
|
+
</NotificationContainer>
|
|
167
|
+
</Modal>
|
|
168
|
+
</>
|
|
169
169
|
)
|
|
170
170
|
}
|
|
171
171
|
|