react-midtrans
A Wrapper for Snap React Midtrans
API
Table of Contents
usage
Examples
import React from 'react'
import ReactDOM from 'react-dom'
import ReactMidtrans from 'react-midtrans'
ReactDOM.render(
<ReactMidtrans clentKey={'your-ker'} token={'payment-token'}>
<button> My Button For PayMe </button>
</ReactMidtrans>
,document.getElementById('app')
)
SnapMidtrans
Parameters
props
Object