File "index.js"

Full Path: /home/jlklyejr/public_html/wp-content/test/wp-content/plugins/rave-woocommerce-payment-gateway/client/blocks/index.js
File size: 514 bytes
MIME-type: text/x-java
Charset: utf-8

/**
 * WooCommerce dependencies
 */
import {
	registerPaymentMethod,
} from '@woocommerce/blocks-registry';

/**
 * Internal dependencies
 *
 * reference: https://github.com/woocommerce/woocommerce-blocks/blob/trunk/docs/third-party-developers/extensibility/checkout-payment-methods/payment-method-integration.md
 */
import paymentMethod from 'wcflutterwave/blocks/payment-method';

// Register Flutterwave Payment Request.
registerPaymentMethod( paymentMethod );

// TODO: implement a Direct Card payment method.