mamg-product-card
Version:
Este es un paquete de pruebas de despliegue en NPM
12 lines (11 loc) • 587 B
TypeScript
/// <reference types="react" />
import { ProductButtonsProps } from "./ProductButtonsProps";
import { ProductCardProps } from "./ProductCardProps";
import { ProductImageProps } from "./ProductImageProps";
import { ProductTitleProps } from "./ProductTitleProps";
export interface ProductCardHocProps {
({ children, product, className }: ProductCardProps): JSX.Element;
Title: ({ title, className }: ProductTitleProps) => JSX.Element;
Image: ({ img, className }: ProductImageProps) => JSX.Element;
Buttons: ({ className }: ProductButtonsProps) => JSX.Element;
}