Skip to content

Commit 7cd92c3

Browse files
committed
docs(README): add recipe for React Native
1 parent fcd4229 commit 7cd92c3

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,14 @@ To create icons, two options are important:
148148
$ svgr --icon --replace-attr-value "#000000=currentColor" my-icon.svg
149149
```
150150

151+
#### Target React Native
152+
153+
It is possible to target React Native using [react-native-svg](https://github.com/react-native-community/react-native-svg).
154+
155+
```
156+
$ svgr --native my-icon.svg
157+
```
158+
151159
#### Use a specific template
152160

153161
You can use a specific template.

0 commit comments

Comments
 (0)