1.0.0 • Published 4 years ago

react-likecoin v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

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="" />
PropsRequired?Description
userId (string)YYour LikeCoin ID.
referrer (string)N / Y for SSRReferrer URL, your page current URL for LikeCoin's tracking. Only required for SSR.
style (object)NOptional styling.

Author

Questions?