Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
export function error(message: string, options?: UpdateOptions) {
return toast.error(message, options);
}
export function update(toastId: ToastId, options: UpdateOptions) {
return toast.update(toastId, options);
}
export function dismiss(toastId: number) {
toast.dismiss(toastId);
}
export const container = (
);
export const INFO = toast.TYPE.INFO;
export const SUCCESS = toast.TYPE.SUCCESS;
export const WARNING = toast.TYPE.WARNING;
export const ERROR = toast.TYPE.ERROR;