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