UNPKG

lf-product-card

Version:

Npm package deploy test using tsdx

14 lines (13 loc) 645 B
import React, { CSSProperties } from 'react'; import { InitialValues, onChangeArgs, Product, ProductCardHandlers, ProductContextProps } from '../interfaces/interfaces'; 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 ProductContext: React.Context<ProductContextProps>; export declare const ProductCard: ({ children, product, className, style, onChange, value, initialValues, }: Props) => JSX.Element;