egs-product-card
Version:
Este es un paquete de pruebas de despliegue en NPM
15 lines (14 loc) • 715 B
TypeScript
import React, { CSSProperties } from 'react';
import { iProductContextProps, iProduct, iOnChangeArgs, iInitialValues } from '../interfaces/product.interfaces';
import { iProductCardHandles } from '../interfaces/product.interfaces';
export declare const ProductContext: React.Context<iProductContextProps>;
export interface iProps {
product: iProduct;
children?: (arg: iProductCardHandles) => JSX.Element;
className?: string;
style?: CSSProperties;
onChange?: (args: iOnChangeArgs) => void;
value?: number;
initialValues?: iInitialValues;
}
export declare const ProductCard: ({ children, product, className, style, onChange, value, initialValues, }: iProps) => JSX.Element;