mb-product-card-test
Version:
Este es un paquete de pruebas de despliegue en NPM
15 lines (14 loc) • 678 B
TypeScript
import React, { CSSProperties, JSX } from 'react';
import { InicialValues, Product, ProductCardHandlers, ProductContextProps, onChangeArgs } from '../interfaces/interfaces';
export declare const ProductContext: React.Context<ProductContextProps>;
export interface Props {
product: Product;
children: (args: ProductCardHandlers) => JSX.Element;
className?: string;
style?: CSSProperties;
onChange?: (args: onChangeArgs) => void;
value?: number;
inicialValues?: InicialValues;
}
export declare const ProductCard: ({ children, product, className, style, onChange, value, inicialValues }: Props) => JSX.Element;
export default ProductCard;