| 10 | } |
| 11 | |
| 12 | interface ToastContextValue { |
| 13 | toast: (type: ToastType, message: string) => void; |
| 14 | success: (message: string) => void; |
| 15 | error: (message: string) => void; |
| 16 | info: (message: string) => void; |
| 17 | } |
| 18 | |
| 19 | const ToastContext = createContext<ToastContextValue | null>(null); |
| 20 |
nothing calls this directly
no outgoing calls
no test coverage detected