Skip to content

Commit eacf037

Browse files
committed
fix(Button): mods
1 parent 0a10776 commit eacf037

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

src/components/actions/Button/Button.tsx

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,16 @@ export const Button = forwardRef(function Button(
282282
'text-only': !!(children && typeof children === 'string' && !hasIcons),
283283
...mods,
284284
}),
285-
[mods, children, isDisabled, isLoading, isSelected, singleIcon, hasIcons],
285+
[
286+
mods,
287+
children,
288+
icon,
289+
rightIcon,
290+
isLoading,
291+
isSelected,
292+
singleIcon,
293+
hasIcons,
294+
],
286295
);
287296

288297
const { actionProps } = useAction(

0 commit comments

Comments
 (0)