From f9db26182c314683089eb5882f14671c8a2b9a1e Mon Sep 17 00:00:00 2001 From: Sergey Roytman Date: Thu, 21 Mar 2024 14:05:27 +0200 Subject: [PATCH] refactoring --- packages/core/src/components/Button/Button.tsx | 3 ++- packages/core/src/components/IconButton/IconButton.tsx | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/core/src/components/Button/Button.tsx b/packages/core/src/components/Button/Button.tsx index f7354b2b11..11f109c25e 100644 --- a/packages/core/src/components/Button/Button.tsx +++ b/packages/core/src/components/Button/Button.tsx @@ -51,6 +51,7 @@ export interface ButtonProps extends VibeComponentProps { successText?: string; /** loading boolean which switches the text to a loader */ loading?: boolean; + /** className which is applied to loader container **/ loaderClassName?: string; style?: React.CSSProperties; /** displays the active state */ @@ -348,7 +349,7 @@ const Button: VibeComponent & { return (