You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> These docs are for the legacy versions of Victory Native. Victory Native XL is our rewrite of Victory Native designed specifically for React Native. Please [see here for more information]
12
+
(https://formidable.com/open-source/victory-native/). If you would like to continue to use this version of Victory with React Native, follow the legacy guide below.
13
13
14
14
In this guide, we’ll show you how to get started with Victory Native and the React Native SVG dependency running in your React Native app for iOS and Android.
15
15
@@ -22,7 +22,7 @@ Victory Native is compatible with React Native 0.50 or higher.
22
22
To add Victory Native to your React Native app install `victory-native`.
23
23
24
24
```bash
25
-
$ yarn add victory-native # or npm install --save victory-native
25
+
$ yarn add victory-native@legacy# or npm install --save victory-native@legacy
Copy file name to clipboardexpand all lines: packages/victory/README.md
+3-2
Original file line number
Diff line number
Diff line change
@@ -38,8 +38,9 @@ Projects using Victory should also depend on [React][] and [prop-types][].
38
38
39
39
## Victory Native
40
40
41
-
Want to use `Victory` with React Native? Check out [victory-native](https://github.com/FormidableLabs/victory-native)
42
-
Victory Native shares most of its code with Victory, and has a nearly identical api!
41
+
Want to use `Victory` with React Native? Check out [victory-native-xl](https://github.com/FormidableLabs/victory-native-xl)
42
+
43
+
If you would like to use this version of `Victory` with React Native, you can install the legacy version using the `legacy` npm tag. See the [available versions in npm](https://www.npmjs.com/package/victory-native?activeTab=versions).
0 commit comments