From e8cd4db7590485eb72d64d1fd2be9bf6adb8763e Mon Sep 17 00:00:00 2001 From: Vincent Smedinga Date: Fri, 18 Oct 2024 16:41:21 +0200 Subject: [PATCH] Fix class name --- packages/react/src/Button/Button.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/react/src/Button/Button.tsx b/packages/react/src/Button/Button.tsx index 78c49fbb0b..d0077b1b84 100644 --- a/packages/react/src/Button/Button.tsx +++ b/packages/react/src/Button/Button.tsx @@ -31,7 +31,7 @@ export const Button = forwardRef( className={clsx( 'ams-button', `ams-button--${variant}`, - iconPosition === 'only' && `.ams-button--icon-position-only`, + iconPosition === 'only' && `ams-button--icon-position-only`, className, )} type={type || 'button'}