You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,22 +1,20 @@
1
1
# react-native-svg-from-uri
2
2
3
-
> This is a fork of the unmaintained https://github.com/vault-development/react-native-svg-uri
3
+
> This is a fork of the unmaintained [react-native-svg-uri](https://github.com/vault-development/react-native-svg-uri) library, originally written by Matias Cortes.
4
4
5
5
Render SVG images in React Native from an URL or a static file
6
6
7
-
This was tested with RN 0.33 and react-native-svg 4.3.1 (depends on this library)
This was tested with RN 0.52.0 and [react-native-svg](https://github.com/react-native-community/react-native-svg) 6.3.1, which this library depends on.
9
8
10
-
Not all the svgs can be rendered, if you find problems fill an issue or a PR in
11
-
order to contemplate all the cases
9
+
## Installation
12
10
13
11
Install library from `npm`
14
12
15
13
```bash
16
14
npm install react-native-svg-from-uri --save
17
15
```
18
16
19
-
Link library react-native-svg
17
+
Link the **react-native-svg** library
20
18
21
19
```bash
22
20
react-native link react-native-svg # not react-native-svg-from-uri !
@@ -35,13 +33,15 @@ react-native link react-native-svg # not react-native-svg-from-uri !
35
33
*[ANDROID] There is a problem with static SVG file on Android,
36
34
Works OK in debug mode but fails to load the file in release mode.
37
35
At the moment the only workaround is to pass the svg content in the svgXmlData prop.
36
+
* Not all the svgs can be rendered, if you find problems fill an issue or a PR in
0 commit comments