action btns
This commit is contained in:
1 parent
7a90980772
commit
6c2798c123
5 files changed
+53
-51
No files matched your search
@@ -2,10 +2,17 @@
|
||||
|
||||
namespace kernel\widgets;
|
||||
|
||||
use kernel\helpers\Debug;
|
||||
use kernel\Widget;
|
||||
|
||||
class ActionButtonWidget extends Widget
|
||||
{
|
||||
|
||||
public static function create(array $data = []): ActionButtonWidget
|
||||
{
|
||||
return new static($data);
|
||||
}
|
||||
|
||||
public function run(): string
|
||||
{
|
||||
$label = $this->data['label'];
|
||||
|
||||
Reference in new issue
Block a user