0.3.4 • Published 1 year 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
1 year ago
0.3.4
1 year ago
0.3.3
1 year ago
0.3.0
1 year ago
0.2.9
1 year ago
0.2.8
1 year ago
0.2.7
1 year ago
0.2.6
1 year ago
0.2.5
1 year ago
0.2.4
1 year ago
0.2.3
1 year ago
0.2.2
1 year ago
0.2.1
1 year ago
0.2.0
1 year ago
0.1.9
1 year ago
0.1.8
1 year ago
0.1.7
1 year ago
0.1.6
1 year ago
0.1.4
1 year ago
0.1.3
1 year ago
0.1.2
1 year ago
0.1.1
1 year ago
0.1.0
1 year ago