fix: remove old modal

This commit is contained in:
Andras Bacsai
2023-07-28 13:31:47 +02:00
parent 331b85c57e
commit 0d56d3a555
14 changed files with 86 additions and 99 deletions

View File

@@ -14,10 +14,13 @@ class Button extends Component
public function __construct(
public bool $disabled = false,
public bool $isModal = false,
public bool $noStyle = false,
public string|null $modalId = null,
public string $defaultClass = "btn btn-primary btn-sm font-normal text-white normal-case no-animation rounded border-none"
) {
//
if ($this->noStyle) {
$this->defaultClass = "";
}
}
/**
@@ -27,4 +30,4 @@ class Button extends Component
{
return view('components.forms.button');
}
}
}