浏览代码

Added import for dimensions

Denis Knyazev 5 年前
父节点
当前提交
048afb71be
没有帐户链接到提交者的电子邮件
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      README.md

+ 1
- 0
README.md 查看文件

@@ -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