UNPKG

jrg-product-card

Version:

Este es un paquete de pruebas de despliegue en NPM.

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