react-native-swappable-grid 1.0.2 → 1.0.3

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.
Files changed (2) hide show
  1. package/README.md +1 -4
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -163,9 +163,6 @@ return (
163
163
  <SwappableGrid ref={gridRef} ... />
164
164
  </Pressable>
165
165
  )
166
-
167
- // Cancel delete mode programmatically
168
- gridRef.current?.cancelDeleteMode();
169
166
  ```
170
167
 
171
168
  | Method | Description |
@@ -255,7 +252,7 @@ gridRef.current?.cancelDeleteMode();
255
252
  </SwappableGrid>
256
253
  ```
257
254
 
258
- ### With Delete Component (custom component where you can drag items into it to delete. Kind of like a trashcan)
255
+ ### With Delete Component (custom component where you can drag items into to delete. Kind of like a trashcan)
259
256
 
260
257
  **Note**: By default HoldToDelete is enabled if you have a onDelete prop. If you use DeleteComponent then only DeleteComponent is used as the way to delete. In other words. You can choose to either delete items by holding or by using DeleteComponent.
261
258
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-swappable-grid",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
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",