diff --git a/index.js b/index.js index 0737acd..51ad2a9 100644 --- a/index.js +++ b/index.js @@ -7,10 +7,10 @@ import { TextInput, Platform, ActivityIndicator, - AsyncStorage, FlatList } from "react-native"; import emoji from "emoji-datasource"; +import AsyncStorage from "@react-native-async-storage/async-storage"; export const Categories = { all: { diff --git a/package.json b/package.json index 56b0bc7..313f9f2 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,11 @@ "dependencies": { "emoji-datasource": "^6.0.0" }, + "peerDependencies": { + "react": "*", + "react-native": "*", + "@react-native-async-storage/async-storage": "^1.16.0" + }, "repository": { "type": "git", "url": "git+https://github.com/arronhunt/react-native-emoji-selector.git"