add props to main button

This commit is contained in:
Tykayn 2025-09-10 13:00:31 +02:00 committed by tykayn
parent 359367c4e3
commit 72e35b5582
26 changed files with 233 additions and 69 deletions

View file

@ -0,0 +1,20 @@
<button
[ngClass]="{
'is-disabled': disabled
}"
class="sae-main-button is-{{kind}} is-size-{{size}}"
>
@if (icon && inconPosition !== "right") {
<i class="ri ri-{{icon}}"></i>
}
<span class="label">
{{ label }}
</span>
@if (divider) {
<span class="pipe">|</span>
}
@if (icon && inconPosition == "right") {
<i class="ri ri-{{icon}}"></i>
}
</button>