Skip to content

Commit a461457

Browse files
committed
readme
1 parent 84c343d commit a461457

2 files changed

Lines changed: 19 additions & 1 deletion

File tree

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,24 @@ The `ref` exposes the following methods:
7474
- `setSize(width, height)`: Set the size of the chart.
7575
- `destroy()`: Destroy the chart instance.
7676
77+
## Demo app
78+
79+
The `demo` folder contains an example Expo app that demonstrates how to use the library. You can run it by cloning the repository and running:
80+
81+
```bash
82+
cd demo
83+
yarn
84+
85+
# for web demo
86+
npx expo start
87+
88+
# for iOS or Android simulators
89+
npx expo run:ios
90+
91+
# for development build on a physical device
92+
eas build --profile development --platform ios --local
93+
```
94+
7795
## Contributing
7896
7997
If you would like to contribute, please open an issue or a pull request. Contributions are welcome!

demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"react-native-screens": "~4.11.1",
3939
"react-native-web": "~0.20.0",
4040
"react-native-webview": "13.13.5",
41-
"uplot-react-native": "file:.."
41+
"uplot-react-native": "0.1.3"
4242
},
4343
"devDependencies": {
4444
"@babel/core": "^7.25.2",

0 commit comments

Comments
 (0)