Skip to content

Commit 553aad5

Browse files
committed
πŸ’„ style(rn): Update react-native deps & docs
1 parent e5406c7 commit 553aad5

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

β€Žpackages/react-native/README.md

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -43,19 +43,6 @@ yarn add @lobehub/icons-rn
4343
# or
4444
pnpm add @lobehub/icons-rn
4545
```
46-
47-
### Peer Dependencies
48-
49-
This package requires the following peer dependencies:
50-
51-
```bash
52-
npm install react-native-svg
53-
# or
54-
yarn add react-native-svg
55-
# or
56-
pnpm add react-native-svg
57-
```
58-
5946
#### Optional: Gradient Support
6047

6148
For gradient background support in Avatar components, install `react-native-linear-gradient`:

β€Žpackages/react-native/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,13 @@
5555
"peerDependencies": {
5656
"react": ">=16.8.0",
5757
"react-native": ">=0.76.9",
58-
"react-native-linear-gradient": ">=2.8.0",
59-
"react-native-svg": ">=15.8.0"
58+
"react-native-linear-gradient": ">=2.8.0"
6059
},
6160
"publishConfig": {
6261
"access": "public",
6362
"registry": "https://registry.npmjs.org"
63+
},
64+
"dependencies": {
65+
"react-native-svg": "^15.12.0"
6466
}
6567
}

0 commit comments

Comments
Β (0)