@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
20 lines (19 loc) • 791 B
TypeScript
import { KendoComponent } from '../_types/component';
export declare const CHECKBOX_CLASSNAME = "k-checkbox";
declare const states: ("required" | "focus" | "invalid" | "disabled" | "checked" | "valid" | "hover" | "indeterminate")[];
declare const options: {
size: ("small" | "medium" | "large")[];
rounded: ("small" | "medium" | "full" | "large")[];
};
export type CheckboxProps = CheckboxOptions & {
id?: string;
};
export type CheckboxState = {
[K in (typeof states)[number]]?: boolean;
};
export type CheckboxOptions = {
size?: (typeof options.size)[number] | null;
rounded?: (typeof options.rounded)[number] | null;
};
export declare const Checkbox: KendoComponent<CheckboxProps & CheckboxState & React.HTMLAttributes<HTMLInputElement>>;
export default Checkbox;