Commit 7dee0c64 authored by Marcus Coleman's avatar Marcus Coleman Committed by GitHub

Update README.md

parent b298cb78
...@@ -25,7 +25,8 @@ view needs to fill up the real screen size. ...@@ -25,7 +25,8 @@ view needs to fill up the real screen size.
1. Install with npm 1. Install with npm
``` ```
npm install react-native-extra-dimensions-android --save npm install react-native-extra-dimensions-android --save
```
2. link using rnpm 2. link using rnpm
``` ```
...@@ -48,9 +49,13 @@ view needs to fill up the real screen size. ...@@ -48,9 +49,13 @@ view needs to fill up the real screen size.
...... ......
} }
``` ```
4. Whenever you want to use it within React Native code now you can: 4. Whenever you want to use it within React Native code now you can:
`var ExtraDimensions = require('react-native-extra-dimensions-android');` `var ExtraDimensions = require('react-native-extra-dimensions-android');`
Or, if you are using ES6 Or, if you are using ES6
`import ExtraDimensions from 'react-native-extra-dimensions-android';` `import ExtraDimensions from 'react-native-extra-dimensions-android';`
### Demo ### Demo
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment