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 +