diff --git a/docs/asyncstorage.md b/docs/asyncstorage.md index 98bfa0636ae16b..d1f46d302b11fc 100644 --- a/docs/asyncstorage.md +++ b/docs/asyncstorage.md @@ -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: ```