1.0.7 • Published 3 years ago

@sendacoin/react v1.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@sendacoin/react

Installation

  1. Install package

    npm i @sendacoin/react

    or

    yarn add @sendacoin/react
  2. Import component

        import SendACoin from "@sendacoin/react";
  3. Use component

        <SendACoin
        username="YOUR_USERNAME"
        options={{
          icon: "btc",
          button_color: "#fff",
          donate_text: "Send Payments Now"
        }}
      />

Options

Option nameDescription
iconChange sendacoin widget icon to crypto currency icon. Supported values: btc,eth,bch,bnb,trx,doge,xmr,ltc,eth,usdt
button_colorWidget button color
donate_textWidget text