Hey,
I would like to know how to pass an action to my Livewire component. I would like when someone clicks on any div in my foreach, the ViewAction is used
Here is my code :
I've added an infolist with a custom view (using view and viewData to pass props) and an entry has an action method so the whole entry is clickable
You can also use repeater so you have only one component where you add your distribs