UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

46 lines (45 loc) 1.89 kB
export declare const SPLITBUTTON_CLASSNAME = "k-split-button"; declare const states: ("active" | "focus" | "disabled" | "selected" | "hover")[]; declare const options: { size: ("small" | "medium" | "large")[]; rounded: ("small" | "medium" | "full" | "large")[]; fillMode: ("link" | "flat" | "clear" | "outline" | "solid")[]; themeColor: ("base" | "error" | "inverse" | "success" | "dark" | "light" | "primary" | "secondary" | "tertiary" | "info" | "warning")[]; }; export type KendoSplitButtonOptions = { size?: (typeof options.size)[number] | null; rounded?: (typeof options.rounded)[number] | null; fillMode?: (typeof options.fillMode)[number] | null; themeColor?: (typeof options.themeColor)[number] | null; }; export type KendoSplitButtonProps = KendoSplitButtonOptions & { icon?: string; text?: string; iconClassName?: string; showArrow?: boolean; arrowIconName?: string; popup?: React.JSX.Element; opened?: boolean; }; export type KendoSplitButtonState = { [K in (typeof states)[number]]?: boolean; }; export declare const SplitButton: { (props: KendoSplitButtonProps & KendoSplitButtonState & React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element; states: ("active" | "focus" | "disabled" | "selected" | "hover")[]; options: { size: ("small" | "medium" | "large")[]; rounded: ("small" | "medium" | "full" | "large")[]; fillMode: ("link" | "flat" | "clear" | "outline" | "solid")[]; themeColor: ("base" | "error" | "inverse" | "success" | "dark" | "light" | "primary" | "secondary" | "tertiary" | "info" | "warning")[]; }; className: string; defaultOptions: { size: "medium"; rounded: "medium"; fillMode: "solid"; themeColor: "base"; arrowIconName: string; }; }; export default SplitButton;