import { HTMLProps, ReactElement } from 'react'; export interface RatingProps extends Omit, 'onChange'> { /** * Sets the count of the component */ count: number; /** * Sets the value of the component */ value: number; /** * Sets the color of the component */ color?: string; /** * Sets the half of the component */ isHalf?: boolean; /** * Sets the isEdit of the component */ editable?: boolean; /** * Sets the hoverColor of the component */ hoverColor?: string; /** * Sets the activeColor of the component */ activeColor?: string; /** * Sets the emptyIcon of the component */ emptyIcon?: ReactElement; /** * Sets the halfIcon of the component */ halfIcon?: ReactElement; /** * Sets the fullIcon of the component */ fullIcon?: ReactElement; /** * Sets the onChange of the component */ onChange?: (value: number) => void; }