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