sl7-product-card
Version:
Este es un paquete de pruebas
14 lines (13 loc) • 632 B
TypeScript
import React from "react";
import { ProductContextProps, Product, onChangeArgs, InitialValues, ProductCardHandlers } from "../interfaces/interfaces";
export declare const ProductContext: React.Context<ProductContextProps>;
export interface Props {
children: (args: ProductCardHandlers) => JSX.Element;
product: Product;
className?: String;
style?: React.CSSProperties;
onChange?: (args: onChangeArgs) => void;
value?: number;
InitialValues?: InitialValues;
}
export declare const ProductCard: ({ children, product, className, style, onChange, value, InitialValues, }: Props) => JSX.Element;