Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
react-star-rating-input
Advanced tools
React.js components for entering 0—N stars (N is 5 by default), or displaying 0—N stars. See the demo.
It's published to npm compiled to ES5, and should work in IE11, if Promise
gets polyfilled.
npm install --save react-star-rating-input
The two main exports are: {StarRatingInput, StarRating}
. The former is for an interactive input
control, the latter is for passive star rating display. Star rasters and CSS is exported as the
{css}
string.
See the code of the demo mentioned above.
Static layout
size
— how many stars to display. The default value is 5Interaction
value
— how many stars are selectedonChange: (value: number) => void
— your value
change handlervalue
— how many stars are displayedFAQs
React.js components for entering/displaying star ratings
The npm package react-star-rating-input receives a total of 0 weekly downloads. As such, react-star-rating-input popularity was classified as not popular.
We found that react-star-rating-input demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.