MCPcopy
hub / github.com/game1024/OpenSpeedy / SnackbarContextType

Interface SnackbarContextType

src/contexts/SnackbarContext.tsx:28–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26import { Snackbar, Alert, AlertColor } from '@mui/material';
27
28interface SnackbarContextType {
29 notify: (message: string, severity?: AlertColor, duration?: number) => void;
30}
31
32const SnackbarContext = createContext<SnackbarContextType | undefined>(undefined);
33

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected