@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
28 lines (27 loc) • 852 B
TypeScript
export declare const DIALOG_CLASSNAME = "k-dialog";
declare const options: {
themeColor: ("dark" | "light" | "primary")[];
};
export type KendoDialogOptions = {
themeColor?: (typeof options.themeColor)[number] | null;
};
export type KendoDialogProps = KendoDialogOptions & {
title?: string;
actions?: string[];
actionButtons?: React.JSX.Element;
actionButtonsAlign?: "start" | "end" | "center" | "stretched";
modal?: boolean;
};
export declare const Dialog: {
(props: KendoDialogProps & React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
states: any[];
options: {
themeColor: ("dark" | "light" | "primary")[];
};
className: string;
defaultOptions: {
readonly actionButtonsAlign: "stretched";
readonly modal: true;
};
};
export default Dialog;