planning
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s

This commit is contained in:
2024-10-14 09:15:30 +02:00
parent bcba00a730
commit 6e64e138e2
21059 changed files with 2317811 additions and 1 deletions

2
node_modules/react-toastify/dist/hooks/index.d.ts generated vendored Normal file
View File

@@ -0,0 +1,2 @@
export * from './useToastContainer';
export * from './useToast';

10
node_modules/react-toastify/dist/hooks/useToast.d.ts generated vendored Normal file
View File

@@ -0,0 +1,10 @@
import { DOMAttributes } from 'react';
import { ToastProps } from '../types';
export declare function useToast(props: ToastProps): {
playToast: () => void;
pauseToast: () => void;
isRunning: boolean;
preventExitTransition: boolean;
toastRef: import("react").RefObject<HTMLDivElement>;
eventHandlers: DOMAttributes<HTMLElement>;
};

View File

@@ -0,0 +1,23 @@
/// <reference types="react" />
import { Id, ToastContainerProps, ToastProps, ToastContent, Toast, ToastPosition } from '../types';
interface QueuedToast {
toastContent: ToastContent;
toastProps: ToastProps;
staleId?: Id;
}
export interface ContainerInstance {
toastKey: number;
displayedToast: number;
props: ToastContainerProps;
containerId?: Id | null;
isToastActive: (toastId: Id) => boolean;
getToast: (id: Id) => Toast | null | undefined;
queue: QueuedToast[];
count: number;
}
export declare function useToastContainer(props: ToastContainerProps): {
getToastToRender: <T>(cb: (position: ToastPosition, toastList: Toast[]) => T) => T[];
containerRef: import("react").MutableRefObject<null>;
isToastActive: (id: Id) => boolean;
};
export {};