Some checks failed
CI / go (push) Waiting to run
CI / docker (push) Waiting to run
CI / lint-go (push) Waiting to run
CI / lint-docs (push) Waiting to run
CI / check-paperclip (push) Waiting to run
Deploy static site / Deploy to GitHub Pages (push) Has been cancelled
Deploy static site / Deploy via Docker to hatch.surf (push) Has been cancelled
Resolved conflicts by taking GitHub versions for: - .dockerignore, .gitignore, Dockerfile, README.md, docker-compose.yml Kept deploy.sh updated to: - Pull from GitHub (primary source) - Push to Gitea (push-mirror) - Build from site/ directory (GitHub structure) Co-Authored-By: Paperclip <noreply@paperclip.ing>
33 lines
1.3 KiB
TypeScript
33 lines
1.3 KiB
TypeScript
import React from 'react';
|
|
import type { OnLoadingComplete, PlaceholderValue } from '../shared/lib/get-img-props';
|
|
import type { ImageLoaderProps } from '../shared/lib/image-config';
|
|
export type { ImageLoaderProps };
|
|
export type ImageLoader = (p: ImageLoaderProps) => string;
|
|
/**
|
|
* The `Image` component is used to optimize images.
|
|
*
|
|
* Read more: [Next.js docs: `Image`](https://nextjs.org/docs/app/api-reference/components/image)
|
|
*/
|
|
export declare const Image: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "height" | "width" | "loading" | "ref" | "alt" | "src" | "srcSet"> & {
|
|
src: string | import("../shared/lib/get-img-props").StaticImport;
|
|
alt: string;
|
|
width?: number | `${number}`;
|
|
height?: number | `${number}`;
|
|
fill?: boolean;
|
|
loader?: import("../shared/lib/get-img-props").ImageLoader;
|
|
quality?: number | `${number}`;
|
|
preload?: boolean;
|
|
priority?: boolean;
|
|
loading?: "eager" | "lazy" | undefined;
|
|
placeholder?: PlaceholderValue;
|
|
blurDataURL?: string;
|
|
unoptimized?: boolean;
|
|
overrideSrc?: string;
|
|
onLoadingComplete?: OnLoadingComplete;
|
|
layout?: string;
|
|
objectFit?: string;
|
|
objectPosition?: string;
|
|
lazyBoundary?: string;
|
|
lazyRoot?: string;
|
|
} & React.RefAttributes<HTMLImageElement | null>>;
|