fix(Image): update return renderFallback type

This commit is contained in:
Timothy Z. 2026-01-22 21:04:57 +02:00
parent dbed391a86
commit 1c9813ebc9

View file

@ -7,7 +7,7 @@ type Props = {
src: string,
alt: string,
fallbackSrc: string,
renderFallback: () => void,
renderFallback: () => React.ReactNode,
onError: (event: React.SyntheticEvent<HTMLImageElement>) => void,
};