@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
22 lines (21 loc) • 602 B
TypeScript
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: {
(props: RatingState & RatingProps & React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
states: ("disabled" | "readonly")[];
options: {};
className: string;
defaultOptions: {
max: number;
};
};
export default Rating;