Skip to content

Latest commit

 

History

History
48 lines (31 loc) · 1.86 KB

File metadata and controls

48 lines (31 loc) · 1.86 KB

Product Description

Description

ProductDescription is a VTEX Component that shows the description of a product. This Component can be imported and used by any VTEX App.

📢 Disclaimer: Don't fork this project, use, contribute, or open issue with your feature request.

Table of Contents

Usage

You should follow the usage instruction in the main README.

Then, add product-description block into your app theme, as we do in our Product Details app.

Blocks API

This component has an interface that describes which rules must be implemented by a block when you want to use the ProductDescription.

  "product-description": {
    "component": "ProductDescription"
  }

Configuration

Through the Storefront, you can change the ProductDescription's behavior and interface. However, you also can make in your theme app, as Dreamstore does.

Prop name Type Description
description String Product description

Styles API

You should follow the Styles API instruction in the main README.

Below, we describe the tokens, their explanation and the component where it is located.

Token name Component Description
productDescriptionContainer ProductDescription The main container of ProductDescription