UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

19 lines (18 loc) 858 B
import { KendoComponent } from '../_types/component'; export declare const PICKER_CLASSNAME = "k-picker"; export declare const pickerStates: ("required" | "loading" | "focus" | "invalid" | "disabled" | "readonly" | "valid" | "hover")[]; export declare const pickerOptions: { size: ("small" | "medium" | "large")[]; rounded: ("small" | "medium" | "full" | "large")[]; fillMode: ("flat" | "outline" | "solid")[]; }; export type PickerState = { [K in (typeof pickerStates)[number]]?: boolean; }; export type PickerOptions = { size?: (typeof pickerOptions.size)[number] | null; rounded?: (typeof pickerOptions.rounded)[number] | null; fillMode?: (typeof pickerOptions.fillMode)[number] | null; }; export declare const Picker: KendoComponent<PickerOptions & PickerState & React.HTMLAttributes<HTMLSpanElement>>; export default Picker;