UNPKG

tc-product-card

Version:

Este es un paquete npm de pruebas

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