30 lines
485 B
PHP
30 lines
485 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
namespace Builder\View\Grid\Tools;
|
|
use Builder\View\Actions\BaseAction;
|
|
use Builder\View\Components\Attrs\Button;
|
|
|
|
class CreateButton extends BaseAction
|
|
{
|
|
use Button;
|
|
|
|
protected $componentName = "GridCreateButton";
|
|
|
|
protected $isDialog = false;
|
|
|
|
/**
|
|
* @param bool $isDialog
|
|
* @return CreateButton
|
|
*/
|
|
public function isDialog(bool $isDialog)
|
|
{
|
|
$this->isDialog = $isDialog;
|
|
return $this;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|