UNPKG

osmg-product-card

Version:

This is a testing package for a npm deploy

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