Repository URL to install this package:
|
Version:
3.0.1 ▾
|
import { ReactNode } from 'react';
export interface RatingNode {
(props?: RatingProps): ReactNode;
}
export interface RatingProps {
className?: string;
shouldShowCount?: boolean;
countPosition?: string;
starCount?: number;
starRating?: number;
defaultColor?: string;
fillColor?: string;
stroke?: string;
width?: number;
starGap?: number;
isUserCount?: boolean;
userRating?: number;
renderWrapper?: RatingNode;
renderContainer?: RatingNode;
children?: RatingNode;
renderStars?: RatingNode;
renderCount?: RatingNode;
}