react-native-swappable-grid 1.0.3 → 1.0.5
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/README.md +57 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,6 +13,63 @@ A powerful React Native component for creating draggable, swappable grid layouts
|
|
|
13
13
|
- 🔄 **Order Tracking**: Callbacks for order changes and drag end events
|
|
14
14
|
- ⚡ **Performance**: Built with React Native Reanimated and Gesture Handler for 60fps animations
|
|
15
15
|
|
|
16
|
+
## 📱 Demo
|
|
17
|
+
|
|
18
|
+
<h3 align="center">
|
|
19
|
+
Drag and re-order items
|
|
20
|
+
</h3>
|
|
21
|
+
|
|
22
|
+
<div align="center">
|
|
23
|
+
<img src="./assets/re-order.gif" width="300" height="auto" />
|
|
24
|
+
</div>
|
|
25
|
+
|
|
26
|
+
</br>
|
|
27
|
+
</br>
|
|
28
|
+
|
|
29
|
+
<h3 align="center">
|
|
30
|
+
Add new items
|
|
31
|
+
</h3>
|
|
32
|
+
|
|
33
|
+
<div align="center">
|
|
34
|
+
<img src="./assets/add-items.gif" width="300" height="auto" />
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
</br>
|
|
38
|
+
</br>
|
|
39
|
+
|
|
40
|
+
<h3 align="center">
|
|
41
|
+
The grid can have handle any item size and adjustes itself dynamically
|
|
42
|
+
</h3>
|
|
43
|
+
|
|
44
|
+
<div align="center">
|
|
45
|
+
<img src="./assets/re-size.gif" width="300" height="auto" />
|
|
46
|
+
</div>
|
|
47
|
+
|
|
48
|
+
</br>
|
|
49
|
+
</br>
|
|
50
|
+
|
|
51
|
+
<h3 align="center">
|
|
52
|
+
Hold still to delete items
|
|
53
|
+
</h3>
|
|
54
|
+
|
|
55
|
+
<div align="center">
|
|
56
|
+
<img src="./assets/hold-to-delete.gif" width="300" height="auto" />
|
|
57
|
+
</div>
|
|
58
|
+
|
|
59
|
+
</br>
|
|
60
|
+
</br>
|
|
61
|
+
|
|
62
|
+
<h3 align="center">
|
|
63
|
+
Drag to delete items
|
|
64
|
+
</h3>
|
|
65
|
+
|
|
66
|
+
<div align="center">
|
|
67
|
+
<img src="./assets/drag-to-delete.gif" width="300" height="auto" />
|
|
68
|
+
</div>
|
|
69
|
+
|
|
70
|
+
</br>
|
|
71
|
+
</br>
|
|
72
|
+
|
|
16
73
|
## Example Project
|
|
17
74
|
|
|
18
75
|
To see common usages and examples. Check out the example project 🚀
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-native-swappable-grid",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"description": "A React Native component for creating draggable, swappable grid layouts with reordering, delete functionality, and smooth animations",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react-native",
|