Grade home works
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
export const SNACKBAR_SEVERITY = {
|
||||
ERROR: 'ERROR',
|
||||
WARNING: 'WARNING',
|
||||
DEFAULT: 'DEFAULT',
|
||||
INFO: 'INFO',
|
||||
SUCCESS: 'SUCCESS',
|
||||
};
|
||||
@@ -9,5 +10,6 @@ export const SNACKBAR_SEVERITY_COLOR = {
|
||||
ERROR: 'bg-red-600',
|
||||
WARNING: 'bg-yellow-600',
|
||||
INFO: 'bg-blue-600',
|
||||
DEFAULT: 'bg-gray-600',
|
||||
SUCCESS: 'bg-green-600',
|
||||
};
|
||||
|
||||
@@ -4,7 +4,7 @@ import { SNACKBAR_SEVERITY } from './constants';
|
||||
export const snackbarStore = writable({
|
||||
open: false,
|
||||
message: '',
|
||||
severity: SNACKBAR_SEVERITY.INFO,
|
||||
severity: SNACKBAR_SEVERITY.DEFAULT,
|
||||
handleClose: () => {},
|
||||
autoHideDuration: 6000,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user