Skip to content

Latest commit

 

History

History
49 lines (34 loc) · 1.37 KB

README.md

File metadata and controls

49 lines (34 loc) · 1.37 KB

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

Properties