From 7314c8205a3cf62d242a77da48364e19de7982ab Mon Sep 17 00:00:00 2001 From: tishoyanchev Date: Tue, 7 Feb 2023 16:30:40 +0100 Subject: [PATCH] default variant --- src/components/button/button.tsx | 2 +- src/index.html | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/src/components/button/button.tsx b/src/components/button/button.tsx index cad80159db..cc63be5fce 100644 --- a/src/components/button/button.tsx +++ b/src/components/button/button.tsx @@ -70,7 +70,7 @@ export class Button { return classNames( 'btn', this.size && `btn-${this.getSizeClass()}`, - this.variant && `btn-${this.getVariantClass()}`, + `btn-${this.getVariantClass()}`, this.iconOnly && `btn-icon-only`, !this.iconOnly && this.iconPosition && diff --git a/src/index.html b/src/index.html index 328c0c459b..07a0b92a34 100644 --- a/src/index.html +++ b/src/index.html @@ -13,11 +13,8 @@ - primary - secondary - success - warning - danger + drop it +