Skip to content

Commit 6e6b6e2

Browse files
authored
feat(ChangelogDialog): add className prop (#354)
1 parent 939473b commit 6e6b6e2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/components/ChangelogDialog/ChangelogDialog.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export interface ChangelogDialogProps {
2929
loading?: boolean;
3030
error?: boolean | {title: string; description: string};
3131
disableHeightTransition?: boolean;
32+
className?: string;
3233
}
3334

3435
let nextId = 1;
@@ -50,14 +51,15 @@ export function ChangelogDialog({
5051
onRetryClick,
5152
loading,
5253
error,
54+
className,
5355
}: ChangelogDialogProps) {
5456
const idRef = React.useRef<number>();
5557
idRef.current = idRef.current || getNextId();
5658
const dialogCaptionId = `changelog-dialog-title-${idRef.current}`;
5759

5860
return (
5961
<Dialog
60-
className={b()}
62+
className={b(null, className)}
6163
open={open}
6264
onClose={onClose}
6365
disableBodyScrollLock={disableBodyScrollLock}

0 commit comments

Comments
 (0)