action btns

This commit is contained in:
2024-11-19 14:55:25 +03:00
parent 7a90980772
commit 6c2798c123
5 changed files with 53 additions and 51 deletions

View File

@ -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'];