<tr class="odd:bg-white odd:dark:bg-gray-900 even:bg-gray-50 even:dark:bg-gray-800 dark:border-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 [&_a]:underline [&_a]:underline-offset-4 [&_a]:decoration-2 [&_td:last-child]:text-right">
    {% if slot %}
        {{ slot }}
    {% else %}
        {% for td in data %}
            {% if forloop.first %}
                <th scope="row"
                    class="px-6 py-4 font-medium text-gray-900 whitespace-nowrap dark:text-white">{{ td }}</th>
            {% else %}
                <c-table-td>
                {{ td }}
                </c-table-td>
            {% endif %}
        {% endfor %}
    {% endif %}
</tr>
