From c1e28224aa2e1450031669d9a7e359b63e04687d Mon Sep 17 00:00:00 2001 From: Volpeon Date: Wed, 22 Jul 2026 19:40:59 +0200 Subject: Init --- src/ui/objects/ContentImage.tsx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/ui/objects/ContentImage.tsx (limited to 'src/ui/objects/ContentImage.tsx') diff --git a/src/ui/objects/ContentImage.tsx b/src/ui/objects/ContentImage.tsx new file mode 100644 index 0000000..ef45f89 --- /dev/null +++ b/src/ui/objects/ContentImage.tsx @@ -0,0 +1,15 @@ +import type { ClassValue } from "corvos/deps/clsx.ts"; +import type { Props as ImageProps } from "corvos/plugins/images.ts"; + +import { Image } from "corvos/plugins/images.ts"; + +export type Props = Omit & { + "src"?: string; + "img-class"?: ClassValue; +}; + +export const ContentImage = ({ src, "img-class": imgClass, ...props }: Props) => ( + + + +); -- cgit v1.3.1