1.0.1 • Published 6 years ago

@vtex/product-description v1.0.1

Weekly downloads
-
License
ISC
Repository
github
Last release
6 years ago

Product Description

Description

React component that render a the description of a product.

Installation

Into this folder, run the following command on terminal:

$ npm install @vtex/product-description

Usage

import React from 'react'
import { ProductDescription } from '@vtex/product-description'

class SampleUsage extends React.Component {
  render() {
    return (
      <ProductDescription>
        Lorem Ipsum Dolum.
      </ProductDescription>
    )
  }
}

And it will render the description that is passed as a children component.