@props([
'with_title_area' => false,
'title_block_right' => false,
'title' => false,
'subtitle' => false,
'sortable' => true
])
@if($with_title_area)
@if($title)
attributes->merge(['class' => 'text-base font-semibold leading-6 text-gray-900']) }}>{{ $title }}
@endif
@if($subtitle)
attributes->merge(['class' => 'mt-2 text-sm text-gray-700']) }}>{{ $subtitle }}
@endif
{{-- Title block right often used for add button--}}
@if($title_block_right)
{{ $title_block_right }}
@endif
@endif
merge(['class' => 'min-w-full divide-y divide-gray-300']) }}>
{{ $slot }}