浏览代码

Merge pull request #92 from pietropizzi/master

ViewShot is the default export so update the docs
Gaëtan Renaudeau 7 年前
父节点
当前提交
db78ac8e8d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      README.md

+ 1
- 1
README.md 查看文件

15
 ## Recommended High Level API
15
 ## Recommended High Level API
16
 
16
 
17
 ```js
17
 ```js
18
-import { ViewShot } from "react-native-view-shot";
18
+import ViewShot from "react-native-view-shot";
19
 
19
 
20
 class ExampleCaptureOnMountManually extends Component {
20
 class ExampleCaptureOnMountManually extends Component {
21
   componentDidMount () {
21
   componentDidMount () {