# recommendation-components
> UI widgets for usage of Product Recommender
[![NPM](https://img.shields.io/npm/v/recommendation-components.svg)](https://www.npmjs.com/package/recommendation-components) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
## Install
```bash
npm install --save recommendation-components
```
## Usage
```jsx
import React, { Component } from 'react'
import { GridWidget, CarouselWidget } from 'recommendation-components'
import 'recommendation-components/dist/index.css'
class Example extends Component {
const tokenBody = {
tokenAvailable: 'TRUE/FALSE',
CLIENT_ID: 'CLIENT_ID',
CLIENT_SECRET: 'CLIENT_SECRET',
token: 'TOKEN_HERE_IF_AVAILABLE'
};
const queryData = {
tenant: 'tenant',
lob: 'lob',
countries:'country_code',
channels:'channels',
components: 'components',
customer_id:'customer_id',
item_id:'item_id',
event_name:'event_name'
};
render() {
return(
);
}
}
```
## License
MIT © [ramiBoss](https://github.com/ramiBoss)
# r e c o m m e n d e r - l i b r a r y
recommendation-components
1.0.1 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i recommendation-components
Repository
Weekly Downloads
1
Version
1.0.1
License
MIT
Unpacked Size
91.1 kB
Total Files
7