Skip to content

Commit

Permalink
fix: add size property to button loading component
Browse files Browse the repository at this point in the history
fatemeh-asgari authored and majidsajadi committed Aug 17, 2024
1 parent e21b7e3 commit b738f39
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/base-button/base-button.ts
Original file line number Diff line number Diff line change
@@ -67,7 +67,9 @@ export abstract class BaseButton extends LitElement {
private renderLoadingContent = () => {
return html `
<div class="spinner">
<tap-spinner></tap-spinner>
<tap-spinner
size=${this.size === 'small' ? 'small' : nothing}
></tap-spinner>
</div>
<div class="content">
<slot></slot>

0 comments on commit b738f39

Please sign in to comment.