Install the package via GitHub with npm install https://github.com/joduplessis/FlexVG.git
or yarn add https://github.com/joduplessis/FlexVG.git
.
This example assumes ES6 usage.
import React, { Component } from 'react'
import { FlexVG } from 'flexvg';
...
<FlexVG src="/images/image.svg" width={20} height={20} color="red"/>
New project, so limitations everywhere.