1.0.7 • Published 11 months ago
peerpaysdk v1.0.7
Authors
PeerPay
import PeerPay from "peerpaysdk";
function App() {
return <PeerPay price= " price of product " ,
limit = "limit of product for rent",
api = " you api ",
image = "URL of image ",
name = "Product name ",
detail = "Detail of product",
maxtime = "max days for giving product",
backgroundColor = " you can change background color of button",
color =" you can change the color of text" ,
/>;
}
Parameter which need to pass on to the components
Parameter | Type | Description |
---|---|---|
price | string | Required. price of product |
limit | string | Required. limit of product for rent |
api | string | Required. Your API key which you get form https://superfluid-wavepool.vercel.app/ |
image | string | Required. image link of product |
name | string | Required. name of your product |
owner | string | Required. bussiness account adress |
next | string | Required. next page after payment completed |
detail | string | Required. a brief detail of product |
maxtime | string | Required. max time of which you can rent the product |