# give/4.17.0/blocks/donation-form/data/attributes.js

GiveWP – Donation Plugin and Fundraising Platform, version 4.17.0. 42 lines.

- Page: https://pluginprobe.com/plugins/give/4.17.0/code/blocks/donation-form/data/attributes.js
- Raw: https://pluginprobe.com/plugins/give/4.17.0/raw/blocks/donation-form/data/attributes.js
- Modified: 2023-11-27T23:07:16+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.17.0/code/blocks/donation-form/data/attributes.js#L10-L20`.

```javascript
/**
 * Block Attributes
 */
const blockAttributes = {
    id: {
        type: 'number',
        default: 0,
    },
    prevId: {
        type: 'number',
    },
    displayStyle: {
        type: 'string',
        default: 'onpage',
    },
    continueButtonTitle: {
        type: 'string',
        default: 'Donate now',
    },
    showTitle: {
        type: 'boolean',
        default: true,
    },
    showGoal: {
        type: 'boolean',
        default: true,
    },
    contentDisplay: {
        type: 'boolean',
        default: true,
    },
    showContent: {
        type: 'string',
        default: 'above',
    },
    blockId: {
        type: 'string',
    },
};

export default blockAttributes;

```
