mamg-product-card
Version:
Este es un paquete de pruebas de despliegue en NPM
12 lines (10 loc) • 560 B
text/typescript
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
}