web/dialog: css for small dialog
- moved backdrop to each dialog - dialog is now closable by clicking the backdrop - added meowbalt to dialogs - added more meowbalt assets & components - added "main" boolean to indicate the main action button in a list of buttons
This commit is contained in:
@@ -1,14 +1,16 @@
|
||||
export type DialogButton = {
|
||||
text: string,
|
||||
color: string,
|
||||
main: boolean,
|
||||
action: () => unknown | Promise<unknown>
|
||||
}
|
||||
|
||||
export type DialogInfo = {
|
||||
id: string,
|
||||
type: "small",
|
||||
meowbalt: "error",
|
||||
title: string,
|
||||
bodyText: string,
|
||||
bodySubText: string,
|
||||
buttons: DialogButton[]
|
||||
buttons: DialogButton[],
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user