@sendacoin/react
v1.0.7
Published
Sendacoin widget on your react app
Downloads
19
Maintainers
Readme
@sendacoin/react
Installation
Install package
npm i @sendacoin/react
or
yarn add @sendacoin/react
Import component
import SendACoin from "@sendacoin/react";
Use component
<SendACoin username="YOUR_USERNAME" options={{ icon: "btc", button_color: "#fff", donate_text: "Send Payments Now" }} />
Options
| Option name | Description | | ------------ | ----------------------------------------------------------------------------------------------------------------- | | icon | Change sendacoin widget icon to crypto currency icon. Supported values: btc,eth,bch,bnb,trx,doge,xmr,ltc,eth,usdt | | button_color | Widget button color | | donate_text | Widget text |