Skip to content

Commit

Permalink
docs(README): add recipe for React Native
Browse files Browse the repository at this point in the history
  • Loading branch information
gregberge committed Dec 7, 2017
1 parent fcd4229 commit 7cd92c3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,14 @@ To create icons, two options are important:
$ svgr --icon --replace-attr-value "#000000=currentColor" my-icon.svg
```

#### Target React Native

It is possible to target React Native using [react-native-svg](https://github.com/react-native-community/react-native-svg).

```
$ svgr --native my-icon.svg
```

#### Use a specific template

You can use a specific template.
Expand Down

0 comments on commit 7cd92c3

Please sign in to comment.