Browse Source

prepare for support for rn 0.40

Gaëtan Renaudeau 7 years ago
parent
commit
229cb4ffdd
2 changed files with 4 additions and 2 deletions
  1. 3
    1
      README.md
  2. 1
    1
      package.json

+ 3
- 1
README.md View File

@@ -1,10 +1,12 @@
1 1
 
2
-# react-native-view-shot ![](https://img.shields.io/npm/v/react-native-view-shot.svg) ![](https://img.shields.io/badge/react--native-%2030+-05F561.svg)
2
+# react-native-view-shot ![](https://img.shields.io/npm/v/react-native-view-shot.svg) ![](https://img.shields.io/badge/react--native-%2040+-05F561.svg)
3 3
 
4 4
 Snapshot a React Native view and save it to an image.
5 5
 
6 6
 <img src="https://github.com/gre/react-native-view-shot-example/raw/master/docs/recursive.gif" width=300 />
7 7
 
8
+> For React Native version between `0.30.x` and `0.39.x`, you should use `react-native-view-shot@1.5.1`.
9
+
8 10
 ## Usage
9 11
 
10 12
 ```js

+ 1
- 1
package.json View File

@@ -14,6 +14,6 @@
14 14
   "author": "Gaëtan Renaudeau <renaudeau.gaetan@gmail.com>",
15 15
   "license": "MIT",
16 16
   "peerDependencies": {
17
-    "react-native": ">=0.30.0"
17
+    "react-native": "*"
18 18
   }
19 19
 }