UNPKG

ma-product-card-lop

Version:

Este es un ejemplo de despliegue de NPM.

14 lines (13 loc) 660 B
import React, { ReactElement, CSSProperties } from 'react'; import { Product, ProductContextProps, onChangeArgs, InitialValues, ProductCardHandlers } from '../interfaces/interfaces'; export declare const ProductContext: React.Context<ProductContextProps>; export interface Props { product: Product; children: (argument: ProductCardHandlers) => ReactElement; className?: string; style?: CSSProperties; onChange?: (args: onChangeArgs) => void; value?: number; initialValue?: InitialValues; } export declare const ProductCar: ({ product, children, className, style, onChange, value, initialValue }: Props) => JSX.Element;