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