Przeglądaj źródła

Update README.md

Removing braces and parentheses so that the example doesn't break. :)
Tefferson 3 lat temu
rodzic
commit
fab19dd821
No account linked to committer's email address
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      README.md

+ 1
- 1
README.md Wyświetl plik

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