export interface RatingProps extends React.HTMLAttributes { value?: number; name?: string; readOnly?: boolean; } export interface RatingItemReadOnlyProps extends React.HTMLAttributes { mark: number; value: number; active: boolean; } export interface RatingItemProps extends RatingItemReadOnlyProps { name: string; onChange?: (event: FormEvent) => void; }