UNPKG

ev-product-card

Version:

Prueba de despliegue de componentes en NPM

15 lines (14 loc) 677 B
import React, { CSSProperties } from 'react'; import { IInitialValues, IOnChangeArgs, IProductCardHandlers, IProductContextProps, Product } from '../interfaces/interfaces'; export declare const ProductContext: React.Context<IProductContextProps>; export interface IProps { children: (args: IProductCardHandlers) => JSX.Element; className?: string; initialValues?: IInitialValues; onChange?: (args: IOnChangeArgs) => void; product: Product; style?: CSSProperties; value?: number; } declare const ProductCard: ({ children, className, initialValues, onChange, product, style, value, }: IProps) => JSX.Element; export default ProductCard;