Skip to content

Commit

Permalink
fix(Button): 🩹 Button loader icon fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
TrejoCode committed Oct 30, 2022
1 parent 1de308b commit 8920627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/atoms/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const Button = forwardRef<HTMLButtonElement, InterfaceButtonProps>(
{children}
{loading && (
<span aria-live="polite" aria-busy="true" className="ml-1">
<Icon icon="load" spin fillClassName={getIconClassNames()} />
<Icon icon="Loader" size={16} className={classnames(getIconClassNames(), 'animate-spin')} />
</span>
)}
</button>
Expand Down

0 comments on commit 8920627

Please sign in to comment.