Browse Source

Update README.md (#176)

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

Co-authored-by: iou90 <iou90@outlook.com>
Tefferson 3 years ago
parent
commit
f0a4e4be28
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      README.md

+ 1
- 1
README.md View File

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