<td
    x-cloak
    x-show="hasHiddenElements"
    class="w-0 {{ $theme->tdBodyClass }}"
    style="{{ $theme->tdBodyStyle }}"
>
    <button
        class="flex items-center"
        x-on:click="toggleExpanded('{{ $rowId }}')"
    >
        <x-livewire-powergrid::icons.arrow
            class="text-pg-primary-600 w-5 h-5 transition-all duration-300 dark:text-pg-primary-200"
            x-bind:class="expanded == {{ $rowId }} ? 'rotate-90' : '-rotate-0'"
        />
    </button>
</td>
