fmd-product-card
Version:
Este es un paquete de pruebas de despliegue en NPM
15 lines (14 loc) • 689 B
TypeScript
import React, { CSSProperties } from 'react';
import { ProductCardHandlers } from '../interfaces/interfaces';
import { InitialValues, onChangeArgs, Product, 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;
onChange?: (args: onChangeArgs) => void;
value?: number;
initialValues?: InitialValues;
}
export declare const ProductCard: ({ children, product, className, style, onChange, value, initialValues, }: Props) => JSX.Element;