feat: Running tasks and steps UI (#165)

This commit is contained in:
Salih Altun
2024-04-07 21:52:59 +03:00
committed by GitHub
parent 112b44e41a
commit 533ed32d9c
32 changed files with 1523 additions and 225 deletions

View File

@@ -0,0 +1,16 @@
import Zoom from "react-medium-image-zoom";
import { AspectRatio } from "@/components/ui/aspect-ratio";
type HTMLImageElementProps = React.ComponentProps<"img">;
function ZoomableImage(props: HTMLImageElementProps) {
return (
<Zoom>
<AspectRatio ratio={16 / 9}>
<img {...props} />
</AspectRatio>
</Zoom>
);
}
export { ZoomableImage };