feat: add post deletion confirm dialog (#818)
Co-authored-by: 三咲智子 <sxzz@sxzz.moe>
This commit is contained in:
parent
2ff46bb8cb
commit
d76e4bfaa5
6 changed files with 78 additions and 8 deletions
|
@ -65,6 +65,14 @@ export interface Draft {
|
|||
}
|
||||
export type DraftMap = Record<string, Draft>
|
||||
|
||||
export interface ConfirmDialogLabel {
|
||||
title: string
|
||||
description?: string
|
||||
confirm?: string
|
||||
cancel?: string
|
||||
}
|
||||
export type ConfirmDialogChoice = 'confirm' | 'cancel'
|
||||
|
||||
export interface BuildInfo {
|
||||
version: string
|
||||
commit: string
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue