Upravy UI, refaktoring, davkove upravy a mazani fotek
This commit is contained in:
@@ -8,11 +8,21 @@ export const confirmObject = (message, title) => ({
|
||||
export const successObject = (message) => ({
|
||||
message,
|
||||
position: "top",
|
||||
color: "positive"
|
||||
color: "positive",
|
||||
progress: true,
|
||||
});
|
||||
|
||||
export const warningObject = (message) => ({
|
||||
message,
|
||||
position: "top",
|
||||
color: "warning",
|
||||
});
|
||||
|
||||
|
||||
export const errorObject = (message) => ({
|
||||
message,
|
||||
position: "top",
|
||||
color: "negative"
|
||||
color: "negative",
|
||||
timeout: 5 * 60 * 1000,
|
||||
actions: [{ icon: 'close', color: 'white', round: true, handler: () => { }}]
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user