feat: add type property to ContextMenu and set delete message item to danger
This commit is contained in:
parent
fbb72919c3
commit
7f98992839
3 changed files with 7 additions and 4 deletions
|
@ -102,6 +102,7 @@ export interface ModalProps {
|
|||
export interface ContextMenuItem {
|
||||
name: string,
|
||||
icon?: string,
|
||||
type: "normal" | "danger"
|
||||
callback: (...args: any[]) => any;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue