mirror of
https://github.com/Boof2015/prism.git
synced 2026-08-20 20:39:59 +02:00
improve profile system
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
export interface DialogOptions {
|
||||
type: 'confirm' | 'prompt'
|
||||
title: string
|
||||
message: string
|
||||
detail?: string
|
||||
buttons: string[]
|
||||
defaultId?: number
|
||||
cancelId?: number
|
||||
defaultValue?: string
|
||||
}
|
||||
|
||||
export interface DialogResult {
|
||||
buttonIndex: number
|
||||
value?: string
|
||||
}
|
||||
Reference in New Issue
Block a user