From be8051c22d543018c358986f6e4f0ab652f0e404 Mon Sep 17 00:00:00 2001 From: qbit982 Date: Tue, 28 Oct 2025 14:59:09 +0300 Subject: [PATCH] fix(ChangelogDialog): change type of title to React.ReactNode --- src/components/ChangelogDialog/ChangelogDialog.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/ChangelogDialog/ChangelogDialog.tsx b/src/components/ChangelogDialog/ChangelogDialog.tsx index a57c212c..7f6288ea 100644 --- a/src/components/ChangelogDialog/ChangelogDialog.tsx +++ b/src/components/ChangelogDialog/ChangelogDialog.tsx @@ -17,7 +17,7 @@ const b = block('changelog-dialog'); export interface ChangelogDialogProps { open: boolean; - title?: string; + title?: React.ReactNode; fullListLink?: string; items: ChangelogItem[]; disableBodyScrollLock?: boolean; @@ -29,6 +29,7 @@ export interface ChangelogDialogProps { loading?: boolean; error?: boolean | {title: string; description: string}; disableHeightTransition?: boolean; + className?: string; } let nextId = 1; @@ -50,6 +51,7 @@ export function ChangelogDialog({ onRetryClick, loading, error, + className, }: ChangelogDialogProps) { const idRef = React.useRef(); idRef.current = idRef.current || getNextId(); @@ -57,7 +59,7 @@ export function ChangelogDialog({ return (