import type { Props as ImageProps } from "corvos/plugins/images.ts"; import type { CSSProperties } from "https://cdn.jsdelivr.net/gh/oscarotero/ssx@0.1.14/css.ts"; import { Image } from "corvos/plugins/images.ts"; export type Props = ImageProps & { "list"?: boolean; "img-class"?: unknown; "img-style"?: CSSProperties; "aspect"?: `${number} / ${number}`; "content-class"?: unknown; "children"?: JSX.Element; }; export const CardImage = ({ children, list, "img-class": imgClass, aspect, "content-class": contentClass, alt, class: cls, style, "img-style": imgStyle, ...props }: Props) => (