UNPKG

jalt-product-card

Version:

Congrats! You just saved yourself hours of work by bootstrapping this project with TSDX. Let’s get you oriented with what’s here and how to use it.

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