@progress/kendo-themes-html
Version:
A collection of HTML helpers used for developing Kendo UI themes
17 lines (16 loc) • 721 B
TypeScript
import { KendoComponent } from '../_types/component';
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: KendoComponent<KendoNotificationProps & React.HTMLAttributes<HTMLDivElement>>;
export default Notification;