Current Path : /var/www/ooareogundevinitiative/wp-content/plugins/give/blocks/donor-wall/ |
Current File : /var/www/ooareogundevinitiative/wp-content/plugins/give/blocks/donor-wall/index.js |
/** * WordPress dependencies */ const { __ } = wp.i18n; const { registerBlockType } = wp.blocks; /** * Internal dependencies */ import blockAttributes from './data/attributes'; import GiveLogo from '../components/logo'; import GiveDonorWallGrid from './edit/block'; /** * Register Block */ export default registerBlockType( 'give/donor-wall', { title: __( 'Donor Wall' ), description: __( 'The GiveWP Donor Wall block inserts an existing donation form into the page. Each form\'s presentation can be customized below.' ), category: 'give', icon: <GiveLogo color="grey" />, keywords: [ __( 'donation' ), __( 'wall' ), ], supports: { html: false, }, attributes: blockAttributes, edit: GiveDonorWallGrid, save: () => { // Server side rendering via shortcode return null; }, } );