Upravy UI, refaktoring, davkove upravy a mazani fotek

This commit is contained in:
Michal Kváček
2023-08-28 22:02:24 +02:00
parent dcc3230cbe
commit dd248d4432
53 changed files with 636 additions and 357 deletions
+12 -2
View File
@@ -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: () => { }}]
})