File Editor
Directories:
.. (Back)
__tests__
action-buttons
action-dashboard
advanced-options
attendee-registration
container
container-content
container-header
counters
dashboard
duration
duration-label
duration-picker
header-image
inactive-block
move-delete
settings-dashboard
Files:
container.js
index.js
template.js
Create New File
Create
Edit File: index.js
/** * External dependencies */ import React from 'react'; /** * WordPress dependencies */ import { __ } from '@wordpress/i18n'; /** * Internal dependencies */ import { RSVP as RSVPIcon } from '@moderntribe/tickets/icons'; import RSVP from './container'; import { KEY_TICKET_GOING_COUNT, KEY_TICKET_NOT_GOING_COUNT, KEY_TICKET_HEADER, } from '@moderntribe/tickets/data/utils'; /** * Module Code */ export default { id: 'rsvp', title: __( 'RSVP', 'event-tickets' ), description: __( 'Find out who is planning to attend!', 'event-tickets', ), icon: <RSVPIcon />, category: 'tribe-tickets', keywords: [ 'event', 'events-gutenberg', 'tribe' ], supports: { html: false, multiple: false, customClassName: false, }, attributes: { goingCount: { type: 'integer', source: 'meta', meta: KEY_TICKET_GOING_COUNT, }, notGoingCount: { type: 'integer', source: 'meta', meta: KEY_TICKET_NOT_GOING_COUNT, }, headerImageId: { type: 'integer', source: 'meta', meta: KEY_TICKET_HEADER, }, }, edit: RSVP, save: () => null, };
Save Changes
Rename File
Rename