<?php

namespace App\Twig\Components;

use Symfony\UX\LiveComponent\Attribute\AsLiveComponent;
use Symfony\UX\LiveComponent\Attribute\LiveProp;
use Symfony\UX\LiveComponent\DefaultActionTrait;

#[AsLiveComponent]
class DropdownMenu
{
    use DefaultActionTrait;

    #[LiveProp(writable: true)]
    public ?array $items = null;
}
