# give/4.15.5/src/DonationForms/Blocks/DonationFormBlock/resources/block.ts

GiveWP – Donation Plugin and Fundraising Platform, version 4.15.5. 13 lines.

- Page: https://pluginprobe.com/plugins/give/4.15.5/code/src/DonationForms/Blocks/DonationFormBlock/resources/block.ts
- Raw: https://pluginprobe.com/plugins/give/4.15.5/raw/src/DonationForms/Blocks/DonationFormBlock/resources/block.ts
- Modified: 2023-10-16T17:55:46+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/give/4.15.5/code/src/DonationForms/Blocks/DonationFormBlock/resources/block.ts#L10-L20`.

```typescript
import schema from '../block.json';
import {BlockConfiguration, registerBlockType} from '@wordpress/blocks';
import Edit from './editor/Edit';
import GiveIcon from './Icon';

/**
 * @since 3.0.0
 */
registerBlockType(schema as BlockConfiguration, {
    icon: GiveIcon,
    edit: Edit,
});

```
