<?php
/**
 * [nemtly_event_list] mount point template.
 *
 * Override by copying this file to
 * <theme>/nemtly-booking/shortcodes/event-list.php.
 *
 * @package NemtlyBooking
 *
 * @var string[] $wrapper_classes CSS classes applied to the wrapper div.
 * @var array    $data_attrs      data-* attributes (key without the `data-` prefix => value).
 * @var \NemtlyBooking\Models\Event[] $events Upcoming events (for reference; rendering happens client-side).
 * @var array    $atts            Sanitized shortcode attributes.
 */

if ( ! defined( 'ABSPATH' ) ) {
    exit;
}
?>
<div class="<?php echo esc_attr( implode( ' ', $wrapper_classes ) ); ?>"
    <?php foreach ( $data_attrs as $nemtly_data_name => $nemtly_data_value ) : ?>
        data-<?php echo esc_attr( $nemtly_data_name ); ?>="<?php echo esc_attr( $nemtly_data_value ); ?>"
    <?php endforeach; ?>
>
    <!-- React component will render the content -->
</div>
