UNPKG

react-simple-star-rating

Version:

A simple react component for adding a star rating to your project.

11 lines (10 loc) 388 B
import React from 'react'; export interface StarIconProps { /** Icon width / height in `px` */ size?: number; SVGstrokeColor?: string; SVGstorkeWidth?: string | number; SVGclassName?: string; SVGstyle?: React.CSSProperties; } export declare function StarIcon({ size, SVGstrokeColor, SVGstorkeWidth, SVGclassName, SVGstyle }: StarIconProps): JSX.Element;