From 80bb8a108f29331cdb2f2695f6801beee104dc89 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Thu, 8 Feb 2024 15:14:23 +0000 Subject: [refactor] Move the different packages to the package subdir --- packages/web/components/ui/imageCard.tsx | 56 ++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 packages/web/components/ui/imageCard.tsx (limited to 'packages/web/components/ui/imageCard.tsx') diff --git a/packages/web/components/ui/imageCard.tsx b/packages/web/components/ui/imageCard.tsx new file mode 100644 index 00000000..1394ae08 --- /dev/null +++ b/packages/web/components/ui/imageCard.tsx @@ -0,0 +1,56 @@ +import * as React from "react"; + +import { cn } from "@/lib/utils"; + +export function ImageCard({ + children, + image, + className, + ...props +}: React.HTMLAttributes & { image?: string }) { + return ( +
+
+
{children}
+
+ ); +} + +export function ImageCardTitle({ + className, + ...props +}: React.HTMLAttributes) { + return ( +
+ ); +} + +export function ImageCardBody({ + className, + ...props +}: React.HTMLAttributes) { + return ( +
+ ); +} + +export function ImageCardFooter({ + className, + ...props +}: React.HTMLAttributes) { + return
; +} -- cgit v1.2.3-70-g09d2