UNPKG

pmcm-product-card

Version:

Este es un paquete de pruebas de despliegue NPM

14 lines (13 loc) 631 B
import React from "react"; import { InitialValues, onChangeArgs, Product, ProductCardHandlers, ProductContextProps } from "../interfaces/interfaces"; export interface Props { product: Product; children: (args: ProductCardHandlers) => JSX.Element; value?: number; initialValues?: InitialValues; className?: string; style?: React.CSSProperties; onChange?: (args: onChangeArgs) => void; } export declare const ProductContext: React.Context<ProductContextProps>; export declare const ProductCard: ({ children, product, className, style, onChange, value, initialValues }: Props) => JSX.Element;