@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
36 lines (35 loc) • 1.15 kB
TypeScript
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: {
(props: KendoToolbarProps & KendoToolbarState & React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
states: "focus"[];
options: {
size: ("small" | "medium" | "large")[];
fillMode: ("flat" | "outline" | "solid")[];
};
className: string;
defaultOptions: {
size: "medium";
fillMode: "solid";
scrollButtons: string;
};
};
export default Toolbar;