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