/* eslint-disable @next/next/no-img-element */ import Image from "next/image"; import type { PropsWithChildren } from "react"; import { Badge } from "@/components/ui/badge/badge"; import type { ButtonProps } from "@/components/ui/button/button"; import { Button } from "@/components/ui/button/button"; import Card from "@/components/ui/card/card"; import LIcon from "@/components/ui/lucid-icon/lucid-icon"; import DefautlImage from "@/public/assets/images/defaultImage.jpg"; interface TextProps { text: string; } interface CardActionProps { onClick: () => void; buttonVariant?: ButtonProps["variant"]; buttonText?: string; } const ProductCardWrap = ({ children }: PropsWithChildren) => { return (
{children}
); }; const ProductCardBrand = (props: { imageUrl?: string }) => { return (
{props.imageUrl ? ( {props.imageUrl} ) : ( )}
); }; const ProductCardTitle = ({ text }: TextProps) => { return

{text}

; }; const ProductCardInformtation = ({ text }: TextProps) => { return (

{text}

); }; const ProductCardInformationBadge = ({ text }: TextProps) => { return ( {text} ); }; const ProductCardAction = ({ onClick, buttonVariant, buttonText, }: CardActionProps) => { return (
); }; const ProductCardPrice = (props: { price: string }) => { return

{props.price}

; }; export { ProductCardAction, ProductCardBrand, ProductCardInformationBadge, ProductCardInformtation, ProductCardPrice, ProductCardTitle, ProductCardWrap, };