UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

20 lines (19 loc) 749 B
import { KendoComponent } from '../_types/component'; export declare const SPINBUTTON_CLASSNAME = "k-spin-button"; declare const options: { size: ("small" | "medium" | "large" | undefined)[]; fillMode: ("link" | "flat" | "clear" | "outline" | "solid" | undefined)[]; }; export type KendoSpinButtonOptions = { size?: (typeof options.size)[number] | null; fillMode?: (typeof options.fillMode)[number] | null; }; export type KendoSpinButtonProps = KendoSpinButtonOptions & { icon?: string; text?: string; disabled?: boolean; increaseLabel?: string; decreaseLabel?: string; }; export declare const SpinButton: KendoComponent<KendoSpinButtonProps & React.HTMLAttributes<HTMLButtonElement>>; export default SpinButton;