UNPKG

@progress/kendo-themes-html

Version:

A collection of HTML helpers used for developing Kendo UI themes

46 lines (45 loc) 1.88 kB
export declare const MENUBUTTON_CLASSNAME = "k-menu-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 KendoMenuButtonOptions = { 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 KendoMenuButtonProps = KendoMenuButtonOptions & { icon?: string; text?: string; showArrow?: boolean; arrowIconName?: string; popup?: React.JSX.Element; opened?: boolean; }; export type KendoMenuButtonState = { [K in (typeof states)[number]]?: boolean; }; export declare const MenuButton: { (props: KendoMenuButtonProps & KendoMenuButtonState & React.HTMLAttributes<HTMLButtonElement>): 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"; showArrow: boolean; arrowIconName: string; }; }; export default MenuButton;