Skip to content

Commit

Permalink
Merge pull request #13971 from maruthumj/button-styleclasses
Browse files Browse the repository at this point in the history
Bug fix: #13963 Component: Button styleClass is not being added to the <button>
  • Loading branch information
cetincakiroglu authored Dec 6, 2023
2 parents 259f124 + 543e942 commit 680fa37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/components/button/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,8 @@ export class Button implements AfterContentInit {
'p-button-outlined': this.outlined,
'p-button-sm': this.size === 'small',
'p-button-lg': this.size === 'large',
'p-button-plain': this.plain
'p-button-plain': this.plain,
[`${this.styleClass}`]:this.styleClass
};
}

Expand Down

0 comments on commit 680fa37

Please sign in to comment.