summaryrefslogtreecommitdiff
path: root/resources/views/table.blade.php
diff options
context:
space:
mode:
Diffstat (limited to 'resources/views/table.blade.php')
-rw-r--r--resources/views/table.blade.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/resources/views/table.blade.php b/resources/views/table.blade.php
index 741a27f..d4290a9 100644
--- a/resources/views/table.blade.php
+++ b/resources/views/table.blade.php
@@ -1,12 +1,12 @@
<div @class($rootClass)>
- <x-dynamic-component :component="$toolbarsWrapperComponent">
+ <x-laralight-tables::dynamic-wrapper :component="$this->wrapperComponent('toolbars')">
@foreach($toolbars as $toolbar)
{{ $toolbar?->render() }}
@endforeach
- </x-dynamic-component>
+ </x-laralight-tables::dynamic-wrapper>
- <x-dynamic-component :component="$tableWrapperComponent">
+ <x-laralight-tables::dynamic-wrapper :component="$this->wrapperComponent('table')">
<table @class($tableClass)>
<colgroup>
@foreach($columns as $column)
@@ -45,9 +45,9 @@
@endforeach
</tbody>
</table>
- </x-dynamic-component>
+ </x-laralight-tables::dynamic-wrapper>
- <x-dynamic-component :component="$paginationWrapperComponent">
+ <x-laralight-tables::dynamic-wrapper :component="$this->wrapperComponent('pagination')">
<div class="table-pagination d-flex justify-content-between align-items-center">
{{ $data->links() }}
<div>
@@ -56,6 +56,6 @@
</div>
</div>
- </x-dynamic-component>
+ </x-laralight-tables::dynamic-wrapper>
</div>