This commit is contained in:
pbao9
2026-02-02 23:17:10 +07:00
parent 8b3be9cc58
commit 372b6bf0f6
106 changed files with 147 additions and 3969 deletions
+4 -1
View File
@@ -17,10 +17,13 @@ class ButtonCRM extends Component
public $icon;
public $variant;
public $size;
public function __construct($type = 'button', $route = null, $url = null, $icon = null, $variant = 'primary', $size = 'md')
public $params;
public function __construct($type = 'button', $route = null, $params = [], $url = null, $icon = null, $variant = 'primary', $size = 'md')
{
$this->type = $type;
$this->route = $route;
$this->params = $params;
$this->url = $url;
$this->icon = $icon;
$this->variant = $variant;