Sfoglia il codice sorgente

ViewShot is the default export so update the docs

Peter Minarik 7 anni fa
parent
commit
98b9f98472
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      README.md

+ 1
- 1
README.md Vedi File

@@ -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 () {