0.0.1 • Published 4 years ago

react-ar-wallet v0.0.1

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

React AR Wallet

A simple and reusable Arweave Wallet component for React

screenshot

Installation

The package can be installed via npm:

npm install react-ar-wallet --save

Or via yarn:

yarn add react-ar-wallet

You’ll need to install React separately since those dependencies aren’t included in the package.

import React, { useState } from "react";
import ArWallet from "react-ar-wallet";

const Example = () => {
  const [wallet, setWallet] = useState('3oDgWphQ0m6D5lIBaN9ebDIdznwsH6J-0kT04dpBWiQ');
  return (
    <ArWallet wallet={wallet} />
  );
};

Configuration

The most basic use of the DatePicker can be described with:

<ArWallet wallet={wallet} />