# give/4.18.0/src/EventTickets/resources/blocks/EventTicketsBlock/Edit/BlockPlaceholderNoEvents.tsx

GiveWP – Donation Plugin and Fundraising Platform, version 4.18.0. 24 lines.

- Page: https://pluginprobe.com/plugins/give/4.18.0/code/src/EventTickets/resources/blocks/EventTicketsBlock/Edit/BlockPlaceholderNoEvents.tsx
- Raw: https://pluginprobe.com/plugins/give/4.18.0/raw/src/EventTickets/resources/blocks/EventTicketsBlock/Edit/BlockPlaceholderNoEvents.tsx
- Modified: 2024-03-13T21:54:14+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.18.0/code/src/EventTickets/resources/blocks/EventTicketsBlock/Edit/BlockPlaceholderNoEvents.tsx#L10-L20`.

```tsx
import {__} from '@wordpress/i18n';
import {createInterpolateElement} from '@wordpress/element';

/**
 * @since 3.6.0
 */
export default function BlockPlaceholderNoEvents() {
    return (
        <div className={'givewp-event-tickets-block__placeholder--no-events'}>
            <p>
                {createInterpolateElement(
                    __(
                        'No events created yet. Go to the <a>events page</a> to create and manage your own event.',
                        'give'
                    ),
                    {
                        a: <a href={window.eventTicketsBlockSettings.listEventsUrl} target="_blank" />,
                    }
                )}
            </p>
        </div>
    );
}

```
