File tree Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Expand file tree Collapse file tree 2 files changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,19 @@ yarn add @lobehub/icons-rn
43
43
# or
44
44
pnpm add @lobehub/icons-rn
45
45
```
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
+
46
59
#### Optional: Gradient Support
47
60
48
61
For gradient background support in Avatar components, install ` react-native-linear-gradient ` :
Original file line number Diff line number Diff line change 45
45
"test:watch" : " vitest --watch" ,
46
46
"type-check" : " tsc --noEmit"
47
47
},
48
- "dependencies" : {
49
- "react-native-svg" : " ^15.12.0"
50
- },
51
48
"devDependencies" : {
49
+ "react-native-svg" : " ^15.12.0" ,
52
50
"@types/react" : " ^19.0.0" ,
53
51
"@types/react-native" : " ^0.72.0" ,
54
52
"clean-package" : " ^2.2.0" ,
58
56
"peerDependencies" : {
59
57
"react" : " >=16.8.0" ,
60
58
"react-native" : " >=0.76.9" ,
61
- "react-native-linear-gradient" : " >=2.8.0"
59
+ "react-native-linear-gradient" : " >=2.8.0" ,
60
+ "react-native-svg" : " >=15.8.0"
62
61
},
63
62
"publishConfig" : {
64
63
"access" : " public" ,
You canβt perform that action at this time.
0 commit comments