Pārlūkot izejas kodu

ViewShot is the default export so update the docs

Peter Minarik 8 gadus atpakaļ
vecāks
revīzija
98b9f98472
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      README.md

+ 1
- 1
README.md Parādīt failu

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