@props([ 'theme' => null, 'row' => null, 'primaryKey' => null, 'columns' => null ])
@foreach($columns as $column) @php $field = $column->field; @endphp @if($column->hidden === false) @if($column->editable === true) @elseif(count($column->toggleable) > 0) @include($theme->toggleable->view) @else
{!! $row->{$field} !!}
@endif @endif @endforeach