svg-circle
A Simple svg circle in react.js
Usage
npm install --save svg-circle
App.js
React Component from 'react';//import './App.css';; { return <div className="App"> <header className="App-header"> <h1 className="App-title">svg image component</h1> </header> <Svgcircle bodyColor="red" strokeColor="blue" strokeWidth="2"/> </div> ; }
API
Props
Prop | Default Value | Description |
---|---|---|
title | 'svg circle' | |
bodyColor | `#ffff00` | |
strokeWidth | `8` | |
strokeColor | `#000` |