Skip to content

Commit

Permalink
Add support for react-native-svg ^14.0.0 (#1732)
Browse files Browse the repository at this point in the history
Closes #1722
  • Loading branch information
wojtekmaj authored Dec 19, 2023
1 parent 4140ba5 commit 1123214
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 25 deletions.
2 changes: 1 addition & 1 deletion docs/guide/packages/lucide-react-native.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Implementation of the lucide icon library for React Native applications

## Installation

First, ensure that you have `react-native-svg@^12.0.0` installed. Then, install the package:
First, ensure that you have `react-native-svg` (version between 12 and 14) installed. Then, install the package:

::: code-group

Expand Down
2 changes: 1 addition & 1 deletion packages/lucide-react-native/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Implementation of the lucide icon library for React Native applications.
## Installation

First, ensure that you have`react-native-svg@^12.0.0` or `react-native-svg@^13.0.0` installed. Then, install the package:
First, ensure that you have `react-native-svg` (version between 12 and 14) installed. Then, install the package:

```sh
yarn add lucide-react-native
Expand Down
4 changes: 2 additions & 2 deletions packages/lucide-react-native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-native": "^0.69.0",
"react-native-svg": "^13.0.0",
"react-native-svg": "^14.0.0",
"rollup": "^3.5.1",
"typescript": "^4.8.4",
"vite": "^4.4.12",
Expand All @@ -65,6 +65,6 @@
"prop-types": "^15.7.2",
"react": "^16.5.1 || ^17.0.0 || ^18.0.0",
"react-native": "*",
"react-native-svg": "^12.0.0 || ^13.0.0"
"react-native-svg": "^12.0.0 || ^13.0.0 || ^14.0.0"
}
}
27 changes: 6 additions & 21 deletions pnpm-lock.yaml

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

0 comments on commit 1123214

Please sign in to comment.