react-crud-mobile 1.3.377 → 1.3.378
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/dist/react-crud-mobile.cjs.development.js +2 -4
- package/dist/react-crud-mobile.cjs.development.js.map +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js +1 -1
- package/dist/react-crud-mobile.cjs.production.min.js.map +1 -1
- package/dist/react-crud-mobile.esm.js +2 -4
- package/dist/react-crud-mobile.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/elements/core/UIOrder.tsx +9 -7
package/package.json
CHANGED
@@ -221,12 +221,14 @@ export default function UIOrder(props: ChildType) {
|
|
221
221
|
<Text style={styles.handleText}>≡</Text>
|
222
222
|
</View>
|
223
223
|
<Text style={styles.itemText}>{item.label}</Text>
|
224
|
-
|
225
|
-
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
224
|
+
{scope.original.remove && (
|
225
|
+
<TouchableOpacity
|
226
|
+
onPress={() => removeItem(item.value)}
|
227
|
+
style={styles.del}
|
228
|
+
>
|
229
|
+
<Text style={{ color: '#fff' }}>X</Text>
|
230
|
+
</TouchableOpacity>
|
231
|
+
)}
|
230
232
|
</Animated.View>
|
231
233
|
);
|
232
234
|
})}
|
@@ -236,7 +238,7 @@ export default function UIOrder(props: ChildType) {
|
|
236
238
|
}
|
237
239
|
|
238
240
|
const styles = StyleSheet.create({
|
239
|
-
container: { flex: 1
|
241
|
+
container: { flex: 1 },
|
240
242
|
title: { fontSize: 18, fontWeight: '600', marginBottom: 12 },
|
241
243
|
item: {
|
242
244
|
backgroundColor: '#fff',
|