Commit 5a1c836b authored by Mehdi Achour's avatar Mehdi Achour

docs: fix import instructions

parent 72d1a24c
...@@ -2,6 +2,9 @@ ...@@ -2,6 +2,9 @@
### next ### next
### 0.22.5
* Fix typescript declaration export (https://github.com/rebeccahughes/react-native-device-info/pull/478)
### 0.22.4 ### 0.22.4
* Shrank the npm package size (https://github.com/rebeccahughes/react-native-device-info/issues/477) * Shrank the npm package size (https://github.com/rebeccahughes/react-native-device-info/issues/477)
......
...@@ -189,8 +189,7 @@ include ':app' ...@@ -189,8 +189,7 @@ include ':app'
## Usage ## Usage
```js ```js
var DeviceInfo = require('react-native-device-info'); import DeviceInfo from 'react-native-device-info';
// or import DeviceInfo from 'react-native-device-info';
``` ```
## API ## API
......
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