1.0.0-rc • Published 2 years ago
react-product-card v1.0.0-rc
React-product-card
This is a test package for deployment in NPM
- By Jadom
Example:
import { ProductCard, ProductImage, ProductTitle, ProductButtons} from 'react-product-card';
<ProductCard
product={ product }
initialValues={{ count: 1 }}
>
{
({reset, count, handleClick, isMaxCountReached})=> (
<>
<ProductImage/>
<ProductTitle/>
<ProductButtons/>
</>
)
}
</ProductCard>