🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

react-stars-display

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-stars-display

Simple to use **React Stars** package which can display fractioned stars

0.1.24
latest
npm
Version published
Weekly downloads
23
360%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

stars

FAQs

Package last updated on 22 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts