optional additionalButtons

This commit is contained in:
Alex Holliday committed 2026-02-08 16:30:51 +00:00
1 parent 3fc4160b88
commit 1552018796
2 files changed
+12 -8

No files matched your search

@@ -23,6 +23,7 @@ export const DialogInput = ({
children,
maxWidth,
fullWidth = false,
additionalButtons,
}: {
open: boolean;
title?: string;
@@ -37,6 +38,7 @@ export const DialogInput = ({
children?: ReactNode;
maxWidth?: DialogProps["maxWidth"];
fullWidth?: boolean;
additionalButtons?: ReactNode;
}) => {
const { t } = useTranslation();
return (
@@ -59,6 +61,7 @@ export const DialogInput = ({
>
{cancelText ?? t("common.buttons.cancel")}
</Button>
{additionalButtons}
{onConfirm && (
<Button
loading={loading}