@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
15 lines (14 loc) • 482 B
TypeScript
import { KendoComponent } from '../_types/component';
export declare const RATING_CLASSNAME = "k-rating";
declare const states: ("disabled" | "readonly")[];
export type RatingState = {
[K in (typeof states)[number]]?: boolean;
};
export type RatingProps = {
max?: number;
value: number;
label?: string;
dir?: "rtl" | "ltr";
};
export declare const Rating: KendoComponent<RatingState & RatingProps & React.HTMLAttributes<HTMLSpanElement>>;
export default Rating;