0.0.2 • Published 6 years ago

react-circle-blink v0.0.2

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

React Star Rating Lite

React Circle Blink is a simple blink component for react code.

alt text alt text

Installation

You can install react-circle-blink component using the npm package manager:

npm install --save react-circle-blink

Dependencies

The react-circle-blink component peer depends on the React and StyledComponentslibrary.

You can install React and related dependencies using npm too:

npm install --save react
npm install --save styled-components

How to Use

1.) Require the react-circle-blink Component

var CircleBlink = require('react-circle-blink');

2.) Start using it

<CircleBlink/>

Features

  • Set color of the star using color property.
<CircleBlink color="red"/>

Any color code can be provided. If not specified, the value will be defaulted to 'orange'.

  • Can increase/decrease the size of the stars using weight property. weight is measured in px.
<CircleBlink weight="24"/>

If weight it not specified, the value will be defaulted to 30px