optional src

This commit is contained in:
Max Peintner
2023-05-23 10:14:53 +02:00
parent d6145710f8
commit 473b84041e

View File

@@ -1,8 +1,8 @@
import Image from "next/image"; import Image from "next/image";
type Props = { type Props = {
darkSrc: string; darkSrc?: string;
lightSrc: string; lightSrc?: string;
height?: number; height?: number;
width?: number; width?: number;
}; };