@vtex/product-description
v1.0.1
Published
React component that provides the description of a product
Downloads
3
Readme
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.