From 3d9aad8af5f56db1492732c3c431fed281297be5 Mon Sep 17 00:00:00 2001 From: Rene Date: Wed, 25 Jan 2023 15:40:56 +0100 Subject: [PATCH] feat: no background for ButtonBar --- src/NotFound/Layout/Elements/LayoutBar.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/NotFound/Layout/Elements/LayoutBar.php b/src/NotFound/Layout/Elements/LayoutBar.php index dfbd52d..52984b2 100644 --- a/src/NotFound/Layout/Elements/LayoutBar.php +++ b/src/NotFound/Layout/Elements/LayoutBar.php @@ -16,6 +16,13 @@ public function removePadding(): self return $this; } + public function noBackground(): self + { + $this->properties->noBackground = true; + + return $this; + } + public function addBarButton(LayoutBarButton $btn) { $this->items->add($btn->build());