mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 06:28:51 +00:00
fix(phone/snackbar): Fixed animations & simplified logic (#146)
This commit is contained in:
5 files changed
+27
-24
No files matched your search
@@ -11,6 +11,8 @@ export type AlertType = 'success' | 'error' | 'info';
|
||||
interface ISnackBar {
|
||||
addAlert: ({ message, type }: IAlert) => void;
|
||||
alert: IAlert | null;
|
||||
isOpen: boolean;
|
||||
handleClose: () => void;
|
||||
}
|
||||
|
||||
export const useSnackbar = (): ISnackBar => useContext(SnackbarContext);
|
||||
Reference in new issue
Block a user