@mantine/notifications
Version:
Mantine notifications system
20 lines (19 loc) • 834 B
TypeScript
import { NotificationProps } from '@mantine/core';
import { NotificationData } from './notifications.store';
interface NotificationContainerProps extends NotificationProps {
data: NotificationData;
onHide: (id: string) => void;
autoClose: number | false;
transitionDuration: number;
allowDragDismiss: boolean;
allowScrollDismiss: boolean;
paused: boolean;
onHoverStart?: () => void;
onHoverEnd?: () => void;
ref?: React.Ref<HTMLDivElement>;
}
export declare function NotificationContainer({ data, onHide, autoClose, transitionDuration, allowDragDismiss, allowScrollDismiss, paused, onHoverStart, onHoverEnd, ref, style, ...others }: NotificationContainerProps): import("react/jsx-runtime").JSX.Element;
export declare namespace NotificationContainer {
var displayName: string;
}
export {};