@props([ 'resource', 'item', 'items', 'buttons', ])
  • wrapable()) x-data="{tree_show_{{ $item->getKey() }}: $persist(true).as('tree_resource_{{ $item->getKey() }}')}" @endif >
    @if($resource->sortable()) @endif
    @if($resource->showBadge()) {{ $item->getKey() }} @endif {{ $item->{$resource->getColumn()} }}
    @if($resource->wrapable()) @endif {!! $resource->itemContent($item) !!}
    @if($resource->treeKey()) @endif