@tugerente/react-getbeamer
Version:
---- Simple wrapper to simplify integration with [Beamer](https://www.getbeamer.com/). Forked to implement user_id parameter. (Kudos to the author)
34 lines (20 loc) • 604 B
Markdown
### React Beamer
----
Simple wrapper to simplify integration with [Beamer](https://www.getbeamer.com/).
You can choose to use a function `beamerInitialize` or a wrapper for [React Helmet](https://github.com/nfl/react-helmet).
This project is a [fork](https://www.npmjs.com/package/react-beamer) to support user parameter. Kudos to it's original creators.
#### Usage:
```
import { BeamerHelmet } from 'react-beamer';
[...]
<BeamerHelmet id={productId} user={user_id}/>
```
```
import { beamerInitialize } from 'react-beamer';
[...]
beamerInitialize(productId);
```
:tada:
### License
---
MIT