|
10 | 10 |
|
11 | 11 | [Documentation](https://react-native-sortables-docs.vercel.app/) | [Examples](https://react-native-sortables-docs.vercel.app/grid/examples) | [Contributing](./CONTRIBUTING.md) |
12 | 12 |
|
13 | | - |
14 | | - |
15 | | - |
16 | | - |
17 | | - |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
18 | 18 |
|
19 | 19 |  |
20 | 20 |  |
@@ -72,7 +72,7 @@ yarn add react-native-sortables |
72 | 72 |
|
73 | 73 | This library is built with: |
74 | 74 |
|
75 | | -- [react-native-reanimated](https://docs.swmansion.com/react-native-reanimated/) (version 3.x) |
| 75 | +- [react-native-reanimated](https://docs.swmansion.com/react-native-reanimated/) (version 3.x, 4.x) |
76 | 76 | - [react-native-gesture-handler](https://docs.swmansion.com/react-native-gesture-handler/) (version 2.x) |
77 | 77 |
|
78 | 78 | Make sure to follow their installation instructions for your project. |
@@ -121,6 +121,43 @@ const styles = StyleSheet.create({ |
121 | 121 |
|
122 | 122 | For detailed usage and examples, check out the [Documentation](https://react-native-sortables-docs.vercel.app/). |
123 | 123 |
|
| 124 | +## Local Library Development |
| 125 | + |
| 126 | +1. Clone and setup: |
| 127 | + |
| 128 | + ```bash |
| 129 | + git clone https://github.com/MatiPl01/react-native-sortables.git |
| 130 | + cd react-native-sortables |
| 131 | + yarn |
| 132 | + yarn pod # iOS only |
| 133 | + ``` |
| 134 | + |
| 135 | +2. Start an example app: |
| 136 | + |
| 137 | + ```bash |
| 138 | + cd example/fabric # or any other example |
| 139 | + yarn start |
| 140 | + ``` |
| 141 | + |
| 142 | + Available example apps: |
| 143 | + |
| 144 | + - `fabric` - React Native Fabric example |
| 145 | + - `paper` - React Native Paper example |
| 146 | + - `expo` - Expo example |
| 147 | + - `web` - Web example |
| 148 | + |
| 149 | + You can also run commands from the project root using the `yarn example:<name> <command>` syntax, e.g.: |
| 150 | + |
| 151 | + ```bash |
| 152 | + yarn example:fabric start |
| 153 | + yarn example:paper android |
| 154 | + yarn example:expo ios |
| 155 | + ``` |
| 156 | + |
| 157 | +3. Build and run: |
| 158 | + - iOS: `yarn ios` or build in Xcode |
| 159 | + - Android: `yarn android` or build in Android Studio |
| 160 | + |
124 | 161 | ## Contributing |
125 | 162 |
|
126 | 163 | Contributions are welcome! Please read the [Contributing Guide](./CONTRIBUTING.md) for details. |
|
0 commit comments