1.0.0-rc • Published 3 years ago
funtion-child v1.0.0-rc
Este es un proyecto de prueba para NPM
ejemplos
import { ProductImage, ProductTitle, ProductButtons, ProductCard } from 'function-child'; <ProductCard
            product={ product }
            inicialValues={{
                count: 4,
                max_count: 10
            }}
            >
              {
                ({ reset, increaseBy, count,isMaxCountReached })=> (
                  <>
                    <ProductImage/>
                    <ProductTitle/>
                    <ProductButtons/>
                  </>
                )
              }
        </ProductCard>