Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jedidiah/react-native-svgson
This package glues together the wonderful react-native-svg and svgson.
https://github.com/jedidiah/react-native-svgson
react-native react-native-svg svg svgson
Last synced: about 1 month ago
JSON representation
This package glues together the wonderful react-native-svg and svgson.
- Host: GitHub
- URL: https://github.com/jedidiah/react-native-svgson
- Owner: Jedidiah
- Created: 2019-07-20T17:55:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-27T06:57:29.000Z (almost 2 years ago)
- Last Synced: 2024-03-26T13:05:16.273Z (9 months ago)
- Topics: react-native, react-native-svg, svg, svgson
- Language: JavaScript
- Size: 997 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# React Native Svgson
This package glues together the wonderful [react-native-svg](https://github.com/react-native-community/react-native-svg) and [svgson](https://github.com/elrumordelaluz/svgson). It works in React Native and Web via [React Native Web](https://github.com/necolas/react-native-web).
## Usage
```
yarn install react-native-svgson react-native-svg lodash# If you are using this on the web you also need react-native-web
yarn install react-native-web
``````
import { Svgson } from 'react-native-svgson';
import exampleSvgJson from './exampleSvg.json';
``````
```