add props to main button
This commit is contained in:
parent
359367c4e3
commit
72e35b5582
26 changed files with 233 additions and 69 deletions
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue