react-round

1.0.2 • Public • Published

React Round

npm package npm package

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;

Readme

Keywords

Package Sidebar

Install

npm i react-round

Weekly Downloads

0

Version

1.0.2

License

ISC

Unpacked Size

98.8 kB

Total Files

8

Last publish

Collaborators

  • wburhanyilmaz