Sindbad~EG File Manager

Current Path : /home/dtconseimw/www.2025.hack/wp-content/plugins/give/blocks/donation-form-grid/edit/
Upload File :
Current File : /home/dtconseimw/www.2025.hack/wp-content/plugins/give/blocks/donation-form-grid/edit/block.js

/**
 * WordPress dependencies
 */
const { Fragment } = wp.element;
const ServerSideRender = wp.serverSideRender;
const { withSelect } = wp.data;

/**
 * Internal dependencies
 */
import Inspector from './inspector';

/**
 * Render Block UI For Editor
 */

const GiveDonationFormGrid = ( props ) => {
	const { attributes } = props;

	return (
		<Fragment>
			<Inspector { ... { ...props } } />
			<ServerSideRender block="give/donation-form-grid" attributes={ attributes } />
		</Fragment>
	);
};

export default withSelect( ( select ) => {
	return {
		forms: select( 'core' ).getEntityRecords( 'postType', 'give_forms' ),
	};
} )( GiveDonationFormGrid );

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists