/// export declare type RatingProps = { /** * If `true`, icons show up as scaled with the apropriate labels */ scaled?: boolean; /** * Labels that can be rendered under the icons */ labels?: Array; /** * do the icons have labels or not */ labeled?: boolean; /** * the value of the selected icon */ selectedIndex?: number; /** * color code of the inactive icon */ inactiveColor?: 'primary' | 'secondary' | 'disabled' | string; /** * color code of the active icon */ activeColor?: 'primary' | 'secondary' | 'disabled' | string; /** * the icon that is rendered as he individual ratings */ component: React.ReactElement; /** * the emtpy icon that is rendered as he individual ratings */ emptyComponent?: React.ReactElement; /** * onclick handler for the icons */ onIconClick: (index: number) => void; /** * number of icons in the rating component */ max: number; /** * the space among icons */ iconSpacing?: string; iconTooltipLabels?: string[]; size?: 'medium' | 'large' | 'small'; };