Skip to content

Commit

Permalink
fix(button): pass size prop into spinner
Browse files Browse the repository at this point in the history
  • Loading branch information
PHILLIPS71 committed Apr 21, 2024
1 parent f615e3b commit a3da489
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/components/button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const Component: ComponentType = React.forwardRef(

return (
<Element {...component} ref={ref}>
{isLoading && <Spinner />}
{isLoading && <Spinner size={size} />}

{children}
</Element>
Expand Down

0 comments on commit a3da489

Please sign in to comment.