Przeglądaj źródła

Merge pull request #92 from pietropizzi/master

ViewShot is the default export so update the docs
Gaëtan Renaudeau 7 lat temu
rodzic
commit
db78ac8e8d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      README.md

+ 1
- 1
README.md Wyświetl plik

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