Skip to content

Commit

Permalink
Move react-native-svg from dependencies to peerDependencies (#578)
Browse files Browse the repository at this point in the history
* Move react-native-svg from dependencies to peerDependencies

* Move react-native-svg from dependencies to peerDependencies

---------

Co-authored-by: c_visser <cvisser@maxedy.com>
Co-authored-by: Tomi Olubeko <66456876+tomi-msft@users.noreply.github.com>
  • Loading branch information
3 people authored Jul 18, 2023
1 parent 2eff7f1 commit d0069ef
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 5 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ Fluent UI System Icons are a collection of familiar, friendly and modern icons f

## Installation

### Requirements
This library requires react-native-svg at version 12.5.0 or higher.

### Android

The library is published via Maven Central, please ensure that the `mavenCentral()` repository has been added to the root `build.gradle` file:
Expand Down
15 changes: 12 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/react-native-icons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
"dependencies": {
"@griffel/react": "^1.0.0",
"@types/react-native": "^0.68.0",
"react-native-svg": "^12.5.0",
"tslib": "^2.1.0"
},
"peerDependencies": {
"react": ">=16.8.0 <19.0.0"
"react": ">=16.8.0 <19.0.0",
"react-native-svg": ">=12.5.0"
},
"files": [
"lib/",
Expand Down

0 comments on commit d0069ef

Please sign in to comment.