@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
46 lines (45 loc) • 1.8 kB
TypeScript
import { KendoActionSheetProps } from '../action-sheet';
import { KendoComponent } from '../_types/component';
export declare const MULTISELECTTREE_CLASSNAME = "k-multiselecttree";
declare const states: ("required" | "loading" | "focus" | "invalid" | "disabled" | "readonly" | "valid" | "hover")[];
declare const options: {
size: ("small" | "medium" | "large" | undefined)[];
rounded: ("small" | "none" | "medium" | "full" | "large" | undefined)[];
fillMode: ("flat" | "outline" | "solid" | undefined)[];
};
export type KendoMultiSelectTreeOptions = {
size?: (typeof options.size)[number] | null;
rounded?: (typeof options.rounded)[number] | null;
fillMode?: (typeof options.fillMode)[number] | null;
};
export type KendoMultiSelectTreeProps = KendoMultiSelectTreeOptions & {
prefix?: React.JSX.Element;
suffix?: React.JSX.Element;
type?: string;
placeholder?: string;
tags?: React.JSX.Element;
popup?: React.JSX.Element;
showArrowButton?: boolean;
opened?: boolean;
dir?: 'ltr' | 'rtl';
adaptive?: boolean;
adaptiveSettings?: KendoActionSheetProps;
adaptiveTitle?: string;
adaptiveSubtitle?: string;
adaptiveFilter?: boolean;
/**
* Unique identifier for the multiselecttree. Used to generate related IDs.
* @aria Controls aria-controls references
*/
id?: string;
/**
* ID of the treeview element in the popup.
* @aria aria-controls - Points to treeview when popup is open
*/
treeviewId?: string;
};
export type KendoMultiSelectTreeState = {
[K in (typeof states)[number]]?: boolean;
};
export declare const MultiSelectTree: KendoComponent<KendoMultiSelectTreeProps & KendoMultiSelectTreeState & React.HTMLAttributes<HTMLSpanElement>>;
export default MultiSelectTree;