jeme-product-card
Version:
This is a test package deployment on NPM
15 lines (14 loc) • 673 B
TypeScript
import React, { CSSProperties, JSX } from 'react';
import { InitialValues, OnChangeArgs, Product, ProductCardHandlers, ProductContextProps } from '../interfaces/interfaces';
export declare const ProductContext: React.Context<ProductContextProps>;
export interface Props {
children?: (args: ProductCardHandlers) => JSX.Element;
className?: string;
initialValues?: InitialValues;
onChange?: (args: OnChangeArgs) => void;
product: Product;
style?: CSSProperties;
value?: number;
}
declare const ProductCard: ({ children, className, initialValues, onChange, product, style, value, }: Props) => JSX.Element;
export default ProductCard;