Added:
- AdditionnalData for buttons - refresh manga metadata and chapters
This commit is contained in:
@@ -3,10 +3,13 @@
|
||||
namespace App\Twig\Components;
|
||||
|
||||
use Symfony\UX\LiveComponent\Attribute\AsLiveComponent;
|
||||
use Symfony\UX\LiveComponent\Attribute\LiveProp;
|
||||
use Symfony\UX\LiveComponent\DefaultActionTrait;
|
||||
|
||||
#[AsLiveComponent]
|
||||
final class ToolBarButton
|
||||
{
|
||||
use DefaultActionTrait;
|
||||
#[LiveProp (writable: true)]
|
||||
public ?array $data = null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user