aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src/components/BlobImage.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'FrontEnd/src/components/BlobImage.tsx')
-rw-r--r--FrontEnd/src/components/BlobImage.tsx10
1 files changed, 8 insertions, 2 deletions
diff --git a/FrontEnd/src/components/BlobImage.tsx b/FrontEnd/src/components/BlobImage.tsx
index cccf2f74..047a13b4 100644
--- a/FrontEnd/src/components/BlobImage.tsx
+++ b/FrontEnd/src/components/BlobImage.tsx
@@ -1,7 +1,13 @@
-import { ComponentPropsWithoutRef, useState, useEffect, useMemo } from "react";
+import {
+ useState,
+ useEffect,
+ useMemo,
+ Ref,
+ ComponentPropsWithoutRef,
+} from "react";
type BlobImageProps = Omit<ComponentPropsWithoutRef<"img">, "src"> & {
- imgRef?: React.Ref<HTMLImageElement>;
+ imgRef?: Ref<HTMLImageElement>;
src?: Blob | string | null;
keyBySrc?: boolean;
};