0.0.1 • Published 1 year ago
rrc-components v0.0.1
rrc-components
Robinson Rodriguez C0rrea
Ejemplo
import {ProductCard, ProductButtons, ProductTitle} from rrc-components
<ProductCard
product={ product }
initialValues={{
count: 6,
maxCount: 10,
}}
>
{
({ reset, count, isMaxCountReached, maxCount, increaseBy }) => (
<>
<ProductImage />
<ProductTitle />
<ProductButtons />
</>
)
}
</ProductCard>
0.0.1
1 year ago