action btns
This commit is contained in:
@ -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