UNPKG

react-jlm-product-card

Version:

This is a test package to deploy in NPM

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