瀏覽代碼

Update README.md (#176)

Removing braces and parentheses so that the example doesn't break. :)

Co-authored-by: iou90 <iou90@outlook.com>
Tefferson 4 年之前
父節點
當前提交
f0a4e4be28
No account linked to committer's email address
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      README.md

+ 1
- 1
README.md 查看文件

@@ -41,7 +41,7 @@ import { Dimensions } from 'react-native'
41 41
         font-size: 16px;
42 42
       }
43 43
     `}
44
-    onSizeUpdated={({size => console.log(size.height)})}
44
+    onSizeUpdated={size => console.log(size.height)}
45 45
     files={[{
46 46
         href: 'cssfileaddress',
47 47
         type: 'text/css',