Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
matc4 authored Jan 18, 2017
1 parent 7db9766 commit d4d9d8a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,15 @@ react-native link react-native-svg # not react-native-svg-uri !!!
| Prop | Type | Default | Note |
|---|---|---|---|
| `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

## Known Bugs

- [ANDROID] There is a problem with static SVG file on Android,
Works OK in debug mode but fails to load the file in release mode.
At the momment the only workarround is to pass the svg content in the svgXmlData prop.

## <a name="Usage">Usage</a>

Here's a simple example:
Expand Down

0 comments on commit d4d9d8a

Please sign in to comment.