From 7cd92c387a25309508afd3072d5956252f131c28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Greg=20Berg=C3=A9?= Date: Thu, 7 Dec 2017 17:45:29 +0100 Subject: [PATCH] docs(README): add recipe for React Native --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 957d68ad..c1ed752c 100644 --- a/README.md +++ b/README.md @@ -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.