0.0.15 • Published 1 year ago

@goblinsax/loan-widget v0.0.15

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

Goblin Sax Loan Widget

A loan widget wirtten in React and Typescript that utilizes the Goblin Sax SDK to provide instant loan on whitelisted NFTs. The widget is implemented in React and meant to used as a React component. The widget requires Goblin Sax API Key. Contact Us if you don't have it.

The widget comes with default light mode, but can configure to dark mode. The widget is responsive by container query, and can be used on small screens and large screens. The action color can also be configured. The default action color is green.

Widget Images

Light Mode

npm.io

Dark Mode

npm.io

Custom Blue Color

npm.io

Links

npm

Install

npm i @goblinsax/loan-widget

Example

Demo Demo Repo

Getting Started

import { Loans } from "@goblinsax/loan-widget";
<Loans lightOrDark={'light'} mainColor={"#00D092"} signer={signer} GS_API_KEY={GS_API_KEY}/>

Props

PropTypeDescription
lightOrDarkstring'light' or 'dark'
mainColorstringhex color code
signerstringsigner from ethers
GS_API_KEYstringGoblin Sax API Key
0.0.15

1 year ago

0.0.14

1 year ago

0.0.13

1 year ago

0.0.12

1 year ago

0.0.11

1 year ago

0.0.10

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago