feat: download screenshot

This commit is contained in:
karishmas6
2024-10-24 04:59:57 +05:30
parent b8e1cc1b57
commit 24bc78759a

View File

@@ -154,7 +154,7 @@ export const RunContent = ({ row, currentLog, interpretationInProgress, logEndRe
width: 'max-content',
}}>
<Typography key={`binary-output-key-${key}`} sx={{ margin: '20px 0px 20px 0px'}}>
<a href={imageUrl} download={key} style={{ textDecoration: 'none' }}>Download</a>
<a href={imageUrl} download={key} style={{ textDecoration: 'none' }}>Download Screenshot</a>
</Typography>
<img key={`image-${key}`} src={imageUrl} alt={key} height='auto' width='700px' />
</Box>