UNPKG

arsubo-product-card

Version:

este es un paquete de prueba de despliegue NPM

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