@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
27 lines (26 loc) • 865 B
TypeScript
export declare const SUGGESTION_CLASSNAME = "k-suggestion";
declare const states: ("active" | "focus" | "hover")[];
declare const options: {
themeColor: ("base" | "primary" | "secondary")[];
};
export type KendoSuggestionOptions = {
themeColor?: (typeof options.themeColor)[number] | null;
};
export type KendoSuggestionProps = KendoSuggestionOptions & {
text?: string;
};
export type KendoSuggestionState = {
[K in (typeof states)[number]]?: boolean;
};
export declare const Suggestion: {
(props: KendoSuggestionProps & KendoSuggestionState & React.HTMLAttributes<HTMLSpanElement>): import("react/jsx-runtime").JSX.Element;
states: ("active" | "focus" | "hover")[];
options: {
themeColor: ("base" | "primary" | "secondary")[];
};
className: string;
item: {
text: string;
};
};
export default Suggestion;