From 401945c2b27d0a6973ae672a448335d36a3d2ee0 Mon Sep 17 00:00:00 2001 From: Arafat Zahan Date: Thu, 6 May 2021 17:38:15 +0600 Subject: [PATCH] chore: update notes about peerDependencies in README.md --- README.md | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d5aa1d7..494a2fe 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,8 @@ A factory to easily create Persistent Mobx State Tree Store Provider and consume - [Mobx State Tree Persistent Store](#mobx-state-tree-persistent-store) - [Installation](#installation) + - [For React](#for-react) + - [For React Native](#for-react-native) - [Usage](#usage) - [Create Provider and Hooks](#create-provider-and-hooks) - [Add Provider to The Root Component](#add-provider-to-the-root-component) @@ -16,6 +18,7 @@ A factory to easily create Persistent Mobx State Tree Store Provider and consume - [Arguments](#arguments) - [PersistentStoreOptions](#persistentstoreoptions) - [License](#license) + - [Contribution](#contribution) ## Installation @@ -23,7 +26,13 @@ A factory to easily create Persistent Mobx State Tree Store Provider and consume Install the peerDependencies if you haven't already. -`yarn add mobx-state-tree react` +### For React + +`yarn add mobx-state-tree localforage` + +### For React Native + +`yarn add mobx-state-tree @react-native-async-storage/async-storage` ## Usage @@ -168,4 +177,8 @@ All Properties are optional. ## License -MIT +This package is licensed under the MIT License. + +## Contribution + +Any kind of contribution is welcome. Thanks!