@elcarte/blocks
v0.0.5
Published
Base React components for Elcarte e-commerce platform
Downloads
518
Maintainers
Readme
@elcarte/blocks
Base React components for Elcarte e-commerce platform.
Installation
npm install @elcarte/blocksUsage
import { BlockRenderer, Hero, ProductsGrid } from '@elcarte/blocks';
// Render blocks from API response
<BlockRenderer blocks={pageData.blocks} />Available Components
BlockRenderer- Renders an array of blocksHero- Hero section with title and imageProductsGrid- Grid of product cardsRichText- Rich text content
License
MIT
