0.3.4 • Published 2 years ago
@huma-shan/widgets v0.3.4
Huma Widgets
The @humafinance/widgets
package is an npm package of React components used to provide subsets of the Huma Finance Protocol functionality in a small user interface element for invoice factoring.
Installation
Install the widgets library via npm
or yarn
.
yarn add @humafinance/widgets
npm i --save @humafinance/widgets
Invoice factoring borrow widget
import { InvoiceFactoringBorrowWidget } from '@humafinance/widgets'
export const InvoiceFactoringOneTimePage = () => {
return (
<InvoiceFactoringBorrowWidget
poolName='pool name'
tokenId={tokenId}
handleClose={handleClose}
/>
)
}
export const InvoiceFactoringRecurringPage = () => {
return (
<InvoiceFactoringBorrowWidget
poolName='pool name'
tokenId={tokenId}
shouldCallApproveForAll
handleClose={handleClose}
/>
)
}
0.3.2
2 years ago
0.3.4
2 years ago
0.3.3
2 years ago
0.3.0
2 years ago
0.2.9
2 years ago
0.2.8
2 years ago
0.2.7
2 years ago
0.2.6
2 years ago
0.2.5
2 years ago
0.2.4
2 years ago
0.2.3
2 years ago
0.2.2
2 years ago
0.2.1
2 years ago
0.2.0
2 years ago
0.1.9
2 years ago
0.1.8
2 years ago
0.1.7
2 years ago
0.1.6
2 years ago
0.1.4
2 years ago
0.1.3
2 years ago
0.1.2
2 years ago
0.1.1
2 years ago
0.1.0
2 years ago