UNPKG

sanity-plugin-simple-star-rating

Version:
27 lines (18 loc) 490 B
## Simple Star Rating A Sanity.io custom input component that allows you to provide a star rating. ### Installation 1. `sanity install simple-star-rating` ### Usage ```js { title: "Rating", name: "rating", type: "rating", // Required description: "Apply a rating out of 5 stars", options: { stars: 5, // Optional. Default 5. } }, ``` ### Preview ![Simple star rating input preview](https://github.com/colettewilson/simpleStarRating/blob/main/src/images/preview.png)