react-lightning-widget
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

React Lightning Widget ⚡

A beautiful widget for accepting Bitcoin in React projects. This is a "Reactified" version of @reneaaron's awesome web component widget. Check out his project website or that project repo for more details.

Quick start

npm install react-lightning-widget

Usage:

import LightningWidget from "react-lightning-widget";

function App() {
  return (
    <div className="App">
      <LightningWidget
        name="René Aaron"
        accent="#20c997"
        to="reneaaron@getalby.com"
        image="https://secure.gravatar.com/avatar/07e22939e7672b38c56615068c4c715f?size=200"
      />
    </div>
  );
}

export default App;

See the project page for all props. Huge thanks to reneaaron for this great tool!

Readme

Keywords

none

Package Sidebar

Install

npm i react-lightning-widget

Weekly Downloads

2

Version

0.2.3

License

MIT

Unpacked Size

17.9 kB

Total Files

12

Last publish

Collaborators

  • bslucas