client/modals: make the title optional

This commit is contained in:
Adorian Doran
2026-03-22 18:55:46 +02:00
parent 555d997e34
commit b4d0af6eb2

View File

@@ -16,7 +16,7 @@ interface CustomTitleBarButton {
export interface ModalProps {
className: string;
title: string | ComponentChildren;
title?: string | ComponentChildren;
customTitleBarButtons?: (CustomTitleBarButton | null)[];
size: "xl" | "lg" | "md" | "sm";
children: ComponentChildren;