@nftverse/tale-wallet-plugin
This plugin can be used to integrate the tale wallet components into your own react application.
Table of contents
Getting Started
These instructions will guide you how to use this sdk on your project.
Installation
Start with cloning this package on your local machine:
$ npm i @nftverse/tale-wallet-plugin
Usage
Import package on your project
$ import "@nftverse/tale-wallet-plugin";
this all will return 5 components which are
-
LoginUi
-
Nftimage
-
WalletUI
-
talewallet
-
useAll
-
overlay
LoginUi
import LoginUi from "@nftverse/tale-wallet-plugin/dist/LoginUi";
To use LoginUi on your project use
<LoginUi />
WalletUI
import WalletUI from "@nftverse/tale-wallet-plugin/dist/WalletUI";
To use WalletUI on your project use
<WalletUI bgColor={"white"} textColor={"black"} />
useAll
useAll is a custom hook which contains all function of this plugin.
import useAll from "@nftverse/tale-wallet-plugin/dist/useAll";
To use useAll on your project use
const { handleTablClick, defaultOpen, fetchList, balance, images } = useAll();
Overlay
Overlay is a modal which open when user click on a button.
import Overlay from "@nftverse/tale-wallet-plugin/dist/Overlay/Overlay";
To use overlay on your project use
<Overlay bgColor={"orange"} textColor={"black"} width={"700px"} height={"400px"} />
Authors
- Syied