mirror of
https://github.com/imputnet/cobalt.git
synced 2025-12-15 12:45:24 +00:00
web/DialogButton: add "link" buttons
This commit is contained in:
@@ -6,7 +6,8 @@ export type DialogButton = {
|
||||
color?: "red",
|
||||
main: boolean,
|
||||
timeout?: number, // milliseconds
|
||||
action: () => unknown | Promise<unknown>
|
||||
action: () => unknown | Promise<unknown>,
|
||||
link?: string
|
||||
}
|
||||
|
||||
export type SmallDialogIcons = "warn-red";
|
||||
|
||||
Reference in New Issue
Block a user