react-circle-blink

0.0.2 • Public • Published

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

Package Sidebar

Install

npm i react-circle-blink

Weekly Downloads

2

Version

0.0.2

License

ISC

Unpacked Size

97.1 kB

Total Files

26

Last publish

Collaborators

  • amar1991