Selaa lähdekoodia

Added import for dimensions

Denis Knyazev 5 vuotta sitten
vanhempi
commit
048afb71be
No account linked to committer's email address
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1
    0
      README.md

+ 1
- 0
README.md Näytä tiedosto

19
 
19
 
20
 ```javascript
20
 ```javascript
21
 import AutoHeightWebView from 'react-native-autoheight-webview'
21
 import AutoHeightWebView from 'react-native-autoheight-webview'
22
+import { Dimensions } from 'react-native'
22
 
23
 
23
 <AutoHeightWebView
24
 <AutoHeightWebView
24
     // default width is the width of screen
25
     // default width is the width of screen