1.0.0 • Published 2 years ago
mono-bank-payment-gateway v1.0.0
monopayment_gateway
Created with CodeSandbox
import React, { useState } from "react"; import { ConnectMono } from "./MonoConnect"; export default function App() { const codeId, setCodeId = useState(); return (
<div className="App">
<ConnectMono
publicKey="pub_key_mono"
secKey="sec_key_mono"
setCodeId={setCodeId}
text="Mono Bank Account"
buttonStyle={{
width: 200,
height: 40,
textColor: "white",
background: "green",
border: 0,
borderRadius: 0
}}
/>
<h4>User_Id : {codeId}</h4>
</div>
); }
1.0.0
2 years ago