diff --git a/src/components/button/button.ts b/src/components/button/button.ts index 6b145da..21a791d 100644 --- a/src/components/button/button.ts +++ b/src/components/button/button.ts @@ -40,6 +40,7 @@ export class StarButton extends StarBaseElement { @property({type: String}) treatment = '' @property({type: String}) icon = 'bug' @property({type: String}) iconcolor = '' + @property({type: String}) fontsize = '' getBaseButton(): HTMLTemplateResult { return html` @@ -59,9 +60,16 @@ export class StarButton extends StarBaseElement { } getIconOnlyButton(): HTMLTemplateResult { - return html` + if(this.fontsize){ + return html` + + ` + }else { + return html` ` + } + } getConfirmButton(): HTMLTemplateResult { diff --git a/src/test/panels/button/button.ts b/src/test/panels/button/button.ts index b99e107..a2bd6ec 100644 --- a/src/test/panels/button/button.ts +++ b/src/test/panels/button/button.ts @@ -10,7 +10,7 @@ export class PanelButton extends LitElement { return html` - +