fix: misc

This commit is contained in:
Ibrahima G. Coulibaly
2025-07-07 02:29:20 +01:00
parent d2acde3e81
commit e5090014f5
5 changed files with 234 additions and 202 deletions

View File

@@ -8,12 +8,14 @@ export default function ResultFooter({
handleDownload,
handleCopy,
disabled,
hideCopy
hideCopy,
downloadLabel = 'Download'
}: {
handleDownload: () => void;
handleCopy: () => void;
handleCopy?: () => void;
disabled?: boolean;
hideCopy?: boolean;
downloadLabel?: string;
}) {
return (
<Stack mt={1} direction={'row'} spacing={2}>
@@ -22,7 +24,7 @@ export default function ResultFooter({
onClick={handleDownload}
startIcon={<DownloadIcon />}
>
Save as
{downloadLabel}
</Button>
{!hideCopy && (
<Button