Skip to content

Commit

Permalink
Added Import Info. (#347)
Browse files Browse the repository at this point in the history
* Added import info

* Update asyncstorage.md
  • Loading branch information
krunaldodiya authored and hramos committed May 25, 2018
1 parent beda2e1 commit 9bbce25
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/asyncstorage.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ On iOS, `AsyncStorage` is backed by native code that stores small values in a se

The `AsyncStorage` JavaScript code is a simple facade that provides a clear JavaScript API, real `Error` objects, and simple non-multi functions. Each method in the API returns a `Promise` object.

Importing the `AsyncStorage` library:

```
import { AsyncStorage } from "react-native"
```

Persisting data:

```
Expand Down

0 comments on commit 9bbce25

Please sign in to comment.