svg-to-react-native-cli
svg-to-react-native-cli copied to clipboard
A command line utility that takes a svg image file and outputs a fully formatted stateless functional React Native!! component file that can be used to render your image.
I've added the option to replace fill and stroke values of the component through props. Fallback is the original fill/stroke. Is omitted through `--fillProp false` and `--strokeProp false` option.
Hey 👋 Cool tool, thanks for making it. It seems like the props aren't used to specify height/width even though the readme states that these are number priority. The example...
Below three component has property cx, cy (and not x, y) RadialGradient Circle Ellipse