@vtex/collection-badges

1.0.13 • Public • Published

Collection Badges

Description

React component that render a list of collection badges.

Installation

Into the folder that contains your package.json file, run the following command on terminal:

$ npm install @vtex/collection-badges

Usage

import React from 'react'
import CollectionBadges from '@vtex/collection-badges'

class SampleUsage extends React.Component {
  render() {
    return (
      <CollectionBadges collectionBadgesText={[ 'foo', 'bar' ]}>
        <img src="" alt="">
      </CollectionBadges>
    )
  }
}

And it will render an image with the list of collection badges located at the bottom.

Readme

Keywords

none

Package Sidebar

Install

npm i @vtex/collection-badges

Weekly Downloads

0

Version

1.0.13

License

ISC

Unpacked Size

5.53 kB

Total Files

6

Last publish

Collaborators

  • talitagaldino
  • brunojdo