Parcourir la source

Merge pull request #137 from p4kaidu/patch-2

 Added import for dimensions
iou90 il y a 4 ans
Parent
révision
df033a7f19
No account linked to committer's email address
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1
    0
      README.md

+ 1
- 0
README.md Voir le fichier

@@ -19,6 +19,7 @@ Read [README_old](./README_old.md) for earlier version guide.
19 19
 
20 20
 ```javascript
21 21
 import AutoHeightWebView from 'react-native-autoheight-webview'
22
+import { Dimensions } from 'react-native'
22 23
 
23 24
 <AutoHeightWebView
24 25
     // default width is the width of screen