MCPcopy
hub / github.com/cita-777/metapi / Toast

Interface Toast

src/web/components/Toast.tsx:5–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3type ToastType = 'success' | 'error' | 'info';
4
5interface Toast {
6 id: number;
7 type: ToastType;
8 message: string;
9 exiting?: boolean;
10}
11
12interface ToastContextValue {
13 toast: (type: ToastType, message: string) => void;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected