@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
19 lines (18 loc) • 760 B
TypeScript
import { KendoComponent } from '../_types/component';
export declare const CARD_CLASSNAME = "k-card";
declare const states: ("focus" | "disabled" | "selected" | "hover")[];
declare const options: {
themeColor: ("error" | "success" | "primary" | "info" | "warning")[];
};
export type KendoCardOptions = {
themeColor?: (typeof options.themeColor)[number] | null;
};
export type KendoCardProps = KendoCardOptions & {
orientation?: null | 'vertical' | 'horizontal';
callout?: null | 'true' | 'top' | 'bottom' | 'left' | 'right';
};
export type KendoCardState = {
[K in (typeof states)[number]]?: boolean;
};
export declare const Card: KendoComponent<KendoCardProps & KendoCardState & React.HTMLAttributes<HTMLDivElement>>;
export default Card;