UNPKG

fra-product-card

Version:

Este es un paquete de pruebas de despliegue eb NPM

16 lines (15 loc) 710 B
import React from 'react'; import { Product, onChangeArgs, InitialValues, ProductCardHandlers } from '../interfaces/interfaces'; import { CSSProperties } from 'react'; import { ProductContextProps } 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, initialValues, className, onChange, product, style, value, }: Props) => JSX.Element;