feat: add type property to ContextMenu and set delete message item to danger

This commit is contained in:
SauceyRed 2025-08-03 20:28:14 +02:00
parent fbb72919c3
commit 7f98992839
Signed by: sauceyred
GPG key ID: 2BF92EB6D8A5CCA7
3 changed files with 7 additions and 4 deletions

View file

@ -102,6 +102,7 @@ export interface ModalProps {
export interface ContextMenuItem {
name: string,
icon?: string,
type: "normal" | "danger"
callback: (...args: any[]) => any;
}