Adds annotations to Mirador 4 implementation
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

10 lines
314 B

export declare type useImageProps = {
srcList: string | string[];
imgPromise?: (...args: any[]) => Promise<void>;
useSuspense?: boolean;
};
export default function useImage({ srcList, imgPromise, useSuspense, }: useImageProps): {
src: string | undefined;
isLoading: boolean;
error: any;
};