0.0.1 • Published 4 years ago
react-ar-wallet v0.0.1
React AR Wallet
A simple and reusable Arweave Wallet component for React
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} />
0.0.1
4 years ago