fix: remove old modal
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user