mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
feat(SnackbarProvider): interface update | wrap around phone
This commit is contained in:
1 parent
babce2f568
commit
c38fe9ef66
3 files changed
+39
-15
No files matched your search
@@ -2,7 +2,7 @@ import { useContext } from 'react';
|
||||
import { SnackbarContext } from '../components/SnackbarProvider';
|
||||
|
||||
interface ISnackBar {
|
||||
addAlert: (message: string, severity: string) => void;
|
||||
addAlert: (message: string, type: string) => void;
|
||||
}
|
||||
|
||||
export const useSnackbar = (): ISnackBar => useContext(SnackbarContext);
|
||||
Reference in new issue
Block a user