import { ElementType, Image, ImageProps } from "@hope-ui/solid" import { createSignal, JSXElement, Show } from "solid-js" export const ImageWithError = ( props: ImageProps & { fallbackErr?: JSXElement }, ) => { const [err, setErr] = createSignal(false) return ( { setErr(true) }} /> ) }