gm-product-card
Version:
Esto es un paquete de pruebas de despliegue en NPM
14 lines (13 loc) • 647 B
TypeScript
import React, { CSSProperties, JSX } from 'react';
import { InitialValues, onChangeArg, Product, ProductCardHandlers, ProductContextProps } 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: onChangeArg) => void;
value?: number;
initialValues?: InitialValues;
}
export declare const ProductCard: ({ children, product, className, style, value, onChange, initialValues }: Props) => JSX.Element;