[add] useWindowDimensions hook

Add the 'useWindowDimensions' hook from React Native

Close #1487
This commit is contained in:
Maxime Thirouin
2019-11-19 23:31:59 +01:00
committed by Nicolas Gallagher
parent 4763cc71c6
commit df1b62cd45
5 changed files with 77 additions and 12 deletions
@@ -64,5 +64,6 @@ module.exports = {
findNodeHandle: true,
processColor: true,
render: true,
unmountComponentAtNode: true
unmountComponentAtNode: true,
useWindowDimensions: true
};