UNPKG

agp-product-card

Version:

### Este es un paquete de pruebas de despliegue en NPM

15 lines (14 loc) 671 B
import React from "react"; import { CSSProperties } from 'react'; import { ProductContextProps, Product, OnChangeArgs, InitialValues, 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?: InitialValues; } export declare const ProductCard: ({ children, product, className, style, onChange, value, initialValues }: Props) => React.JSX.Element;