@jetblack/mui-svg-shapes

1.0.2 • Public • Published

@jetblack/mui-svg-shapes

An SVG shape library for material ui react.

Usage

First create the react app.

~$ npx create-react-app my-app
~$ cd my-app
~/my-app$

Then add the package.

~/my-app$ npm install @jetblack/mui-svg-shapes

Change the src/App.js to have the following content:

import React, { Component } from 'react'
import { withStyles } from '@material-ui/core/styles'
import Svg from '@jetblack/mui-svg-shapes'
import Circle from '@jetblack/mui-svg-shapes'

const styles = theme => ({
})

class App extends Component {
  render() {
    return (
      <Svg width={800} height={800}>
        <Circle cx={50} cy={50} r={50} />
      </Svg>
    )
  }
}

export default withStyles(styles)(App)

Readme

Keywords

Package Sidebar

Install

npm i @jetblack/mui-svg-shapes

Weekly Downloads

0

Version

1.0.2

License

Apache-2.0

Unpacked Size

359 kB

Total Files

112

Last publish

Collaborators

  • jr200
  • rob-blackbourn