Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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';
```

```

```