Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# react-native-svg-uri
This package will finished as a pull request to the package ault-development/react-native-svg-uri but while not feel free to make pull requests
Render SVG images in React Native from an URL or a static file

This was tested with RN 0.33 and react-native-svg 4.3.1 (depends on this library)
Expand Down Expand Up @@ -27,6 +28,7 @@ react-native link react-native-svg # not react-native-svg-uri !!!
| `source` | `ImageSource` | | Same kind of `source` prop that `<Image />` component has
| `svgXmlData` | `String` | | You can pass the SVG as String directly
| `fill` | `Color` | | Overrides all fill attributes of the svg file
| `classes` | `Object` | | Overrides attributes of classes (only overrides those attributes present in the given object)

## Known Bugs

Expand Down Expand Up @@ -64,4 +66,4 @@ This will render:

## Testing
1. Make sure you have installed dependencies with `npm i`
2. Run tests with `npm test`
2. Run tests with `npm test`
Loading