<?php

declare(strict_types=1);

namespace KupShop\PreordersBundle\Twig\Components\Preorders;

use KupShop\ComponentsBundle\Attributes\Component;
use KupShop\ComponentsBundle\Attributes\Version;
use KupShop\ComponentsBundle\Twig\BaseComponent;
use KupShop\PreordersBundle\Dto\PreorderOrDate;
use Symfony\UX\TwigComponent\Attribute\AsTwigComponent;

#[AsTwigComponent(template: '@Preorders/components/DatePicker/DatePicker.1.html.twig')]
#[Component(1, [
    new Version(1, newJs: null),
])]
class DatePicker extends BaseComponent
{
    public int $activeId;

    /** @var iterable<PreorderOrDate> */
    public iterable $dates;
}
