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