UNPKG

react-native-ecommerce-components

Version:

A compilation of components to optimize the development of your ecommerce

31 lines (30 loc) 763 B
import React from 'react'; interface Product { id: string; title: string; description: string; price: number; image: string; rating?: number; } interface ProductDetailProps { product: Product; onAddToCart: (product: Product) => void; onBuyNow: (product: Product) => void; title: string; subTitle?: string; styles?: { container?: object; image?: object; title?: object; subTitle?: object; description?: object; price?: object; rating?: object; buttonContainer?: object; button?: object; buttonText?: object; }; } declare const ProductDetail: React.FC<ProductDetailProps>; export default ProductDetail;