Skip to content

Commit dedcee8

Browse files
authored
fix(docs): AsyncStorage import for react-native (#1459)
According to the [documentation](https://react-native-async-storage.github.io/async-storage/docs/usage) of AsyncStorage the import should be the default import
1 parent 9ce2d9d commit dedcee8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/quick-start/react-native.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Create a file in your root folder `ReactotronConfig.js` and paste this:
3333

3434
```js
3535
import Reactotron from "reactotron-react-native";
36-
import { AsyncStorage } from "@react-native-async-storage/async-storage";
36+
import AsyncStorage from "@react-native-async-storage/async-storage";
3737

3838
Reactotron.setAsyncStorageHandler(AsyncStorage)
3939
.configure() // controls connection & communication settings
@@ -45,7 +45,7 @@ Or using a more advanced way to customize which plugins to include:
4545

4646
```js
4747
import Reactotron from "reactotron-react-native";
48-
import { AsyncStorage } from "@react-native-async-storage/async-storage";
48+
import AsyncStorage from "@react-native-async-storage/async-storage";
4949

5050
Reactotron.setAsyncStorageHandler(AsyncStorage)
5151
.configure({

0 commit comments

Comments
 (0)