ui-image/dist/ImageWithFallback.d.ts
autocommit c97eb510e1 chore: initial package split from monorepo
Package: @lilith/ui-image
Split from: lilith/ui.git or lilith/build.git
Publish workflow: calls lilith/workflows/.forgejo/workflows/publish-npm.yml@main
2026-04-20 01:11:30 -07:00

12 lines
No EOL
507 B
TypeScript

/**
* Image With Fallback Component
*
* Image component that displays a fallback placeholder when
* the image fails to load or src is missing.
*/
import type { ImgHTMLAttributes } from 'react';
export interface ImageWithFallbackProps extends ImgHTMLAttributes<HTMLImageElement> {
fallbackText?: string;
}
export declare function ImageWithFallback({ src, alt, fallbackText, ...props }: ImageWithFallbackProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ImageWithFallback.d.ts.map