1.0.2 • Published 6 years ago
react-round v1.0.2
React Round
Get Started
npm install --save react-round
props:
position
: "left,top,right,bottom"backgroundColor
: "color name, hex, rgba ..."size
: numberExample 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;