Package Exports
- suitcss-components-starratings
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (suitcss-components-starratings) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
components for star-ratings
provides the star-ratings UI.
Install
- npm:
npm install @tgfjt/suitcss-components-starratings - Download: zip
Available classes
StarRatingsStarRatings-star
Configurable variables
--StarRatings-letterspase--StarRatings-star--StarRatings-color-active--StarRatings-color-inactive
Usage
<div class="StarRatings" aria-label="4 Stars">
<span class="StarRatings-star" star="4"></span>
</div>
<div class="StarRatings" aria-label="2.5 Stars">
<span class="StarRatings-star" star="2.5"></span>
</div>Test
npm run build-test