Files
web/apps/scandic-web/components/ImageFallback/index.tsx
Matilda Landström aabfa12007 Merged in fix/image-fallback-span-full-height (pull request #2571)
fix: image fallback - span full height

* fix: image fallback - span full height


Approved-by: Hrishikesh Vaipurkar
2025-07-29 06:11:33 +00:00

24 lines
513 B
TypeScript

import { MaterialIcon } from "@scandic-hotels/design-system/Icons/MaterialIcon"
import styles from "./imageFallback.module.css"
interface ImageFallbackProps {
width?: string
height?: string
}
export default function ImageFallback({
width = "100%",
height = "100%",
}: ImageFallbackProps) {
return (
<div className={styles.imageFallback} style={{ width, height }}>
<MaterialIcon
icon="imagesmode"
size={32}
color="Icon/Interactive/Disabled"
/>
</div>
)
}