%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/higroup/wp-content/plugins/event-tickets/src/modules/blocks/rsvp/duration/
Upload File :
Create Path :
Current File : /var/www/html/higroup/wp-content/plugins/event-tickets/src/modules/blocks/rsvp/duration/template.js

/**
 * External dependencies
 */
import React from 'react';

/**
 * WordPress dependencies
 */
import { __ } from '@wordpress/i18n';

/**
 * Internal dependencies
 */
import RSVPDurationLabel from '@moderntribe/tickets/blocks/rsvp/duration-label/container';
import RSVPDurationPicker from '@moderntribe/tickets/blocks/rsvp/duration-picker/container';
import './style.pcss';

const RSVPDuration = ( { hasDurationError } ) => (
	<div className="tribe-editor__rsvp-duration">
		<RSVPDurationLabel />
		<RSVPDurationPicker />
		{ hasDurationError && (
			<span className="tribe-editor__rsvp-duration__error">
				{ __( 'There is an error with the selected sales duration. Please fix the issue before saving.', 'event-tickets' ) }
			</span>
		) }
	</div>
);

export default RSVPDuration;

Zerion Mini Shell 1.0