UNPKG

aiab-product-card

Version:

``` import { ProductButtons,ProductCard,ProductImage,ProductTitle } from "aiab-product-card"; ```

14 lines (13 loc) 633 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;