UNPKG

sl7-product-card

Version:
14 lines (13 loc) 632 B
import React from "react"; import { ProductContextProps, Product, onChangeArgs, InitialValues, ProductCardHandlers } from "../interfaces/interfaces"; export declare const ProductContext: React.Context<ProductContextProps>; export interface Props { children: (args: ProductCardHandlers) => JSX.Element; product: Product; className?: String; 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;