"use client"; import { useState } from "react"; import type { ComponentProps } from "react"; import Image from "next/image"; import { cn } from "@/lib/utils"; export default function BlurImage(props: ComponentProps) { const [isLoading, setLoading] = useState(true); return ( {props.alt} setLoading(false)} /> ); } export function BlurImg(props) { const [isLoading, setLoading] = useState(true); return ( {props.alt} setLoading(false)} /> ); }