feat: add and use ModalProps interface

This commit is contained in:
SauceyRed 2025-07-13 00:04:19 +02:00
parent 6071bbce35
commit fb452d8a5b
Signed by: sauceyred
GPG key ID: 270B096EF6E9A462
3 changed files with 13 additions and 3 deletions

View file

@ -87,3 +87,10 @@ export interface DropdownOption {
value: string | number,
callback: () => void
}
export interface ModalProps {
title?: string,
heavy?: boolean,
onClose?: () => void,
onCancel?: () => void
}