Skip to content

Commit 229cb4f

Browse files
committed
prepare for support for rn 0.40
1 parent 41c357d commit 229cb4f

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11

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)
33

44
Snapshot a React Native view and save it to an image.
55

66
<img src="https://github.com/gre/react-native-view-shot-example/raw/master/docs/recursive.gif" width=300 />
77

8+
> For React Native version between `0.30.x` and `0.39.x`, you should use `[email protected]`.
9+
810
## Usage
911

1012
```js

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@
1414
"author": "Gaëtan Renaudeau <[email protected]>",
1515
"license": "MIT",
1616
"peerDependencies": {
17-
"react-native": ">=0.30.0"
17+
"react-native": "*"
1818
}
1919
}

0 commit comments

Comments
 (0)