@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
27 lines (26 loc) • 1 kB
TypeScript
export declare const NOTIFICATION_CLASSNAME = "k-notification";
declare const options: {
themeColor: ("base" | "error" | "inverse" | "success" | "dark" | "light" | "primary" | "secondary" | "tertiary" | "info" | "warning")[];
};
export type KendoNotificationOptions = {
themeColor?: (typeof options.themeColor)[number] | null;
};
export type KendoNotificationProps = KendoNotificationOptions & {
actions?: React.JSX.Element | React.JSX.Element[];
closable?: boolean;
text?: string;
icon?: string;
};
export declare const Notification: {
(props: KendoNotificationProps & React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
states: any[];
options: {
themeColor: ("base" | "error" | "inverse" | "success" | "dark" | "light" | "primary" | "secondary" | "tertiary" | "info" | "warning")[];
};
className: string;
defaultOptions: {
themeColor: "base";
closable: boolean;
};
};
export default Notification;