trential-ui-components
v0.1.16
Published
### Installation
Downloads
2
Readme
Trential UI Components
Installation
npm install trential-ui-components
Refund Modal
Modal to refund amount on Transactions and verifications.
import { RefundModal } from 'trential-ui-components';
...
<RefundModal
open={showRefundModal}
handleClose={() => setShowRefundModal(false)}
showCloseTransaction={actionRow.action === 'close'}
handleCloseTransaction={handleCloseTransaction}
handleGenerateRefund={handleGenerateRefund}
row={actionRow.row}
enqueueSnackbar={() => { }}
setOpen={setShowRefundModal}
fetchPayments={fetchPayments}
refundPermissionExists={true}
/>