From a0e1e9167d2ed992162bf24c1112be67e73431fa Mon Sep 17 00:00:00 2001 From: Lukas Heller Date: Thu, 8 Oct 2020 13:16:56 +0200 Subject: [PATCH 1/4] Add default slot --- views/nav-list.blade.php | 1 + 1 file changed, 1 insertion(+) diff --git a/views/nav-list.blade.php b/views/nav-list.blade.php index e91f0c7..e70cf33 100644 --- a/views/nav-list.blade.php +++ b/views/nav-list.blade.php @@ -9,6 +9,7 @@ 'items' => $list, 'active_class' => $active_class, ]) + {{ $slot }} From 04f6c369b3759371c070e4ce4cc8a50db17562ca Mon Sep 17 00:00:00 2001 From: Lukas Heller Date: Thu, 8 Oct 2020 15:37:00 +0200 Subject: [PATCH 2/4] Add a class to the top level ul --- views/nav-list.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/views/nav-list.blade.php b/views/nav-list.blade.php index e70cf33..5ee4d51 100644 --- a/views/nav-list.blade.php +++ b/views/nav-list.blade.php @@ -4,7 +4,7 @@ @if($expandable) lit-nav-list--expandable @endif @if($dropdown) lit-nav-list--dropdown @endif "> -