Skip to content

Commit

Permalink
fix(button): fixing lagacy facebook button
Browse files Browse the repository at this point in the history
  • Loading branch information
WillianLomeu committed Aug 8, 2024
1 parent a626fdf commit 70b663a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/components/button/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,11 @@ export class Button {

componentDidRender() {
this.logSlotText();
this.buttonLegacy();
}

buttonLegacy() {
this.variant === 'facebook' ? this.setVariant('outline') : this.setVariant(this.variant)
}

logSlotText() {
Expand Down
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
</style>

<body>
Versão blip-ds 1.286.2
Versão blip-ds 1.286.3
<bds-test-component></bds-test-component>
</body>

Expand Down

0 comments on commit 70b663a

Please sign in to comment.