react-likecoin

1.0.0 • Public • Published

react-likecoin

Unofficial plugin for LikeCoin on React, Nextjs or Gatsby.

Civic Liker is a movement to realign creativity and reward, by the technology of nano-payment to decouple media’s income from advertising needs. Any website can enable the LikeCoin button by installing the plugin. Each “Like” from the readers let creators to be rewarded.

What's LikeCoin?

Install

npm i react-likecoin
## or 
yarn react-likecoin

How to use

In your React component, add the following to use react-likecoin:

import LikeCoin from 'react-likecoin';
 
// render
<LikeCoin userId="" />
Props Required? Description
userId (string) Y Your LikeCoin ID.
referrer (string) N / Y for SSR Referrer URL, your page current URL for LikeCoin's tracking. Only required for SSR.
style (object) N Optional styling.

Author

Questions?

Package Sidebar

Install

npm i react-likecoin

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

4.76 kB

Total Files

4

Last publish

Collaborators

  • andrewmmc