forked from raminr77/react-sample
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ramin
committed
Nov 6, 2022
1 parent
a17cd23
commit e0cefac
Showing
3 changed files
with
59 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
export const SNACKBAR_TYPES: { | ||
INFO: 'info'; | ||
ERROR: 'error'; | ||
WARNING: 'warn'; | ||
MESSAGE: 'message'; | ||
SUCCESS: 'success'; | ||
} = { | ||
INFO: 'info', | ||
ERROR: 'error', | ||
WARNING: 'warn', | ||
MESSAGE: 'message', | ||
SUCCESS: 'success' | ||
}; | ||
|
||
export const SNACKBAR_POSITIONS: { | ||
TOP_LEFT: 'top-left'; | ||
TOP_RIGHT: 'top-right'; | ||
TOP_CENTER: 'top-center'; | ||
BOTTOM_LEFT: 'bottom-left'; | ||
BOTTOM_RIGHT: 'bottom-right'; | ||
BOTTOM_CENTER: 'bottom-center'; | ||
} = { | ||
TOP_LEFT: 'top-left', | ||
TOP_RIGHT: 'top-right', | ||
TOP_CENTER: 'top-center', | ||
BOTTOM_LEFT: 'bottom-left', | ||
BOTTOM_RIGHT: 'bottom-right', | ||
BOTTOM_CENTER: 'bottom-center' | ||
}; |