import type { Props as ImageProps } from "corvos/plugins/images.ts"; import type { HTMLAttributes } from "corvos/plugins/jsx.ts"; import { Image } from "corvos/plugins/images.ts"; export type Props = HTMLAttributes<"a"> & ImageProps & { "x-bind:src"?: string; "x-bind:srcset"?: string; "x-bind:alt"?: string; "variant"?: "static-black" | "static-white"; }; export const Thumbnail = ({ src, srcset, alt, "x-bind:src": xbindSrc, "x-bind:srcset": xbindSrcset, "x-bind:alt": xbindAlt, variant, class: cls, widths, width, height, densities, "no-transform": noTransform, ...props }: Props) => ( {alt} );