Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
André Neves authored Apr 29, 2017
1 parent d92a7a2 commit d31a6be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ npm install rn-utils --save

## Utilities

#### Dimensions
### Dimensions
| Function | Usage | Utility |
|-----------|-------|---------|
| getDeviceHeight | `RNUtils.getDeviceHeight()` | Returns the device's current viewport height. |
| getDeviceWidth | `RNUtils.getDeviceWidth()` | Returns the device's current viewport width. |

#### Orientation
### Orientation
*Currently the only 3rd party package with native dependecies used by React Native Utilities is the [React Native Orientation](https://github.com/yamill/react-native-orientation) module. If you wish to use any of the Orientation functionalities of React Native Utils, remember to link its native dependencies.*
```
react-native link react-native-orientation
Expand Down

0 comments on commit d31a6be

Please sign in to comment.