1.0.0 • Published 8 years ago
react-native-get-pixel-dimensions v1.0.0
Install
$ npm install react-native-get-pixel-dimensions
# OR
$ yarn add react-native-get-pixel-dimensionsUsage
import getPixelDimensions from 'react-native-get-pixel-dimensions'
getPixelDimensions()
// {width: 750, height: 1334} // On iPhone 6Contributing
Contributions are welcome!
- Fork it.
- Create your feature branch:
git checkout -b my-new-feature - Commit your changes:
git commit -am 'Add some feature' - Push to the branch:
git push origin my-new-feature - Submit a pull request :D
Or open up a issue.
License
Licensed under the MIT License.
1.0.0
8 years ago