From 543e942dc51c7fb2513500eb155c87a08f806504 Mon Sep 17 00:00:00 2001 From: maruthumj Date: Fri, 27 Oct 2023 19:26:34 +0530 Subject: [PATCH] added stylclass to button --- src/app/components/button/button.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/components/button/button.ts b/src/app/components/button/button.ts index 302deca6797..23d7039052b 100755 --- a/src/app/components/button/button.ts +++ b/src/app/components/button/button.ts @@ -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 }; }