mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-04-05 18:09:04 +00:00
7 lines
306 B
TypeScript
7 lines
306 B
TypeScript
import toast from 'react-hot-toast';
|
|
|
|
export const showSuccessToast = (message: string) => toast.success(message);
|
|
export const showErrorToast = (message: string) => toast.error(message);
|
|
export const showInfoToast = (message: string) => toast(message);
|
|
export const dismissToasts = () => toast.dismiss();
|