UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

24 lines (23 loc) 879 B
import { KendoComponent } from '../_types/component'; export declare const TOOLBAR_CLASSNAME = "k-toolbar"; declare const states: "focus"[]; declare const options: { size: ("small" | "medium" | "large")[]; fillMode: ("flat" | "outline" | "solid")[]; }; export type KendoToolbarOptions = { size?: (typeof options.size)[number] | null; fillMode?: (typeof options.fillMode)[number] | null; }; export type KendoToolbarProps = KendoToolbarOptions & { resizable?: boolean; scrollable?: boolean; scrollButtons?: 'hidden' | 'start' | 'end' | 'around'; scrollingPosition?: 'start' | 'end' | 'both'; section?: boolean; }; export type KendoToolbarState = { [K in (typeof states)[number]]?: boolean; }; export declare const Toolbar: KendoComponent<KendoToolbarProps & KendoToolbarState & React.HTMLAttributes<HTMLDivElement>>; export default Toolbar;