Skip to content
This repository has been archived by the owner on Nov 25, 2018. It is now read-only.

realplatanopapi/parcel-plugin-react-svg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[DEPRECATED] parcel-plugin-react-svg Build Status

This package has been deprecated in favor of the official SVGR package.

Parcel plugin for using SVGs as React components.

import React from 'react'
import BusteloIllo from './bustelo.svg'

class App extends React.Component {
  render() {
    return <BusteloIllo width={500} fill="blue" />
  }
}

How to use it

Install parcel-plugin-react-svg from npm and you should be all good to go 💫.

With npm:

npm install parcel-plugin-react-svg -D

Or if you prefer yarn:

yarn add parcel-plugin-react-svg -D

About

[DEPRECATED] Parcel plugin for using SVGs as React components.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published