1.0.2 • Published 6 years ago

react-round v1.0.2

Weekly downloads
3
License
ISC
Repository
github
Last release
6 years ago

React Round

npm package npm package

npm.io

Get Started

  1. npm install --save react-round
  2. props:

    position: "left,top,right,bottom"

    backgroundColor: "color name, hex, rgba ..."

    size: number

  3. Example usage:

import React, { PropTypes } from 'react';
import Round from 'react-round';
import { Header, Description } from './index.js'

class Home extends Component {
    render() {
        return(
            <div>
                <Header />
                <Description />
                <Round backgroundColor="#6941eeb3" position="300,120" size={40} />
            </div>
        );
    }
}

export default Home;
1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago