cec-product-card
Version:
Esto es un paquete de pruebas en NPM
13 lines (12 loc) • 552 B
TypeScript
import React, { JSX } from 'react';
import { InitialValues, onChangeArgs, Product, ProductCardHandlers } from '../interfaces/product.interface';
export interface Props {
product: Product;
children: (args: ProductCardHandlers) => JSX.Element;
className?: string;
style?: React.CSSProperties;
value?: number;
onChange?: (args: onChangeArgs) => void;
initialValues?: InitialValues;
}
export declare const ProductCard: ({ children, product, className, style, onChange, value, initialValues }: Props) => JSX.Element;