-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #392 from reactioncommerce/fix-mikemurray-componen…
…t-context-peer-dep fix/chore: component context dependencies
- Loading branch information
Showing
4 changed files
with
7 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
#### Install | ||
|
||
```bash | ||
npm install --save [email protected] [email protected] [email protected] [email protected] @reactioncommerce/components-context@1.0.0 @reactioncommerce/components | ||
npm install --save [email protected] [email protected] [email protected] [email protected] @reactioncommerce/components-context@1.2.0 @reactioncommerce/components | ||
``` | ||
|
||
or | ||
|
||
```bash | ||
yarn add [email protected] [email protected] [email protected] [email protected] @reactioncommerce/components-context@1.0.0 @reactioncommerce/components | ||
yarn add [email protected] [email protected] [email protected] [email protected] @reactioncommerce/components-context@1.2.0 @reactioncommerce/components | ||
``` | ||
|
||
Note that the minimum required React version is 16.4.1 because this package uses newer APIs like `createContext` and `forwardRef`. The `react`, `prop-types`, `@reactioncommerce/components-context`, `reacto-form`, and `styled-components` packages are peer dependencies, which means that you must install the proper versions in your app. They are not included with this package. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters