summaryrefslogtreecommitdiff
path: root/src/Toolbar/Concerns/WithHref.php
diff options
context:
space:
mode:
authorSam Light <samlight1994@gmail.com>2026-02-12 00:23:02 +0000
committerSam Light <samlight1994@gmail.com>2026-02-12 00:23:02 +0000
commit536fa6c917d63b14feeb8f876e6a1d62acb577fc (patch)
tree548f6b23324c8a0ef9448d16773ffad33ccc9c0b /src/Toolbar/Concerns/WithHref.php
parentf998df6a2abaa211a730f247ce814f238228fb70 (diff)
Created new dropdown toolbar itemv2.1.0
Diffstat (limited to 'src/Toolbar/Concerns/WithHref.php')
-rw-r--r--src/Toolbar/Concerns/WithHref.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/Toolbar/Concerns/WithHref.php b/src/Toolbar/Concerns/WithHref.php
new file mode 100644
index 0000000..50d4c81
--- /dev/null
+++ b/src/Toolbar/Concerns/WithHref.php
@@ -0,0 +1,17 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Lightscale\LaralightTables\Toolbar\Concerns;
+
+trait WithHref
+{
+ protected string $href;
+
+ public function href(string $href): static
+ {
+ $this->href = $href;
+
+ return $this;
+ }
+}