UNPKG

@etsoo/materialui

Version:

TypeScript Material-UI Implementation

49 lines (48 loc) 1.66 kB
import { NotificationAlign, NotificationRenderProps } from "@etsoo/notificationbase"; import React from "react"; import { INotificationBaseReact, INotificationReact, NotificationReact, NotifierReact } from "@etsoo/react"; /** * MU notification */ export declare class NotificationMU extends NotificationReact { private createAlert; private createConfirm; private createMessageColor; private createMessage; private createPrompt; private createPopup; private createLoading; /** * Render method * @param props Props * @param className Style class name * @param classes Style classes */ render(props: NotificationRenderProps, className?: string): import("react/jsx-runtime").JSX.Element; } /** * Antd notifier */ export declare class NotifierMU extends NotifierReact { /** * Create state and return provider * @param className Style class name * @param debug Debug mode * @returns Provider */ static setup(className?: string, debug?: boolean): React.FunctionComponent<React.PropsWithChildren<import("@etsoo/react").NotificationReactRenderProps>>; private static getOrigin; /** * Create align container * @param align Align * @param children Children * @param options Other options */ protected createContainer: (align: NotificationAlign, children: React.ReactNode[]) => import("react/jsx-runtime").JSX.Element; /** * Add raw definition * @param data Notification data definition * @param modal Show as modal */ protected addRaw(data: INotificationBaseReact, modal?: boolean): INotificationReact; }