0.1.24 • Published 4 years ago

react-stars-display v0.1.24

Weekly downloads
10
License
MIT
Repository
-
Last release
4 years ago

React Stars Display

Simple to use React Stars package which can display fractioned stars

Example

Example for 3.6 Stars with default fill alt Stars Example

Installation

Install the package using yarn or npm:

npm i react-stars-display

OR

yarn add react-stars-display

Usage

<Stars
stars={2.4}
size={15} //optional
spacing={2} //optional
fill='#ea9c46' //optional
/>

Properties

propdefaulttypedescription
starsrequirednumberNumber of active stars
size15pxnumber (px)Size of stars
spacing1pxnumber (px)Spacing between the stars
fill'#ea9c46'string (color)Color of filled stars
0.1.24

4 years ago

0.1.23

4 years ago

0.1.22

4 years ago

0.1.21

4 years ago

0.1.2

4 years ago

0.1.15

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago