Grade home works

This commit is contained in:
rotimi-best
2021-09-04 22:27:00 +03:00
parent 030fd24fe1
commit b94db946a9
17 changed files with 376 additions and 123 deletions
+2
View File
@@ -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',
};
+1 -1
View File
@@ -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,
});