sanity-plugin-simple-star-rating
Version:
A Sanity.io star rating input component.
27 lines (18 loc) • 490 B
Markdown
## 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
