Skip to content

thebrandonlucas/react-lightning-widget

Repository files navigation

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!

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published