Set center loader

This commit is contained in:
jeffvli
2022-11-08 19:01:00 -08:00
parent ddc0355b1e
commit 048b5898b9
+2 -2
View File
@@ -118,7 +118,7 @@ export const _Button = forwardRef<HTMLButtonElement, ButtonProps>(
if (tooltip) {
return (
<Tooltip withinPortal {...tooltip}>
<StyledButton ref={ref} {...props}>
<StyledButton ref={ref} loaderPosition="center" {...props}>
{children}
</StyledButton>
</Tooltip>
@@ -126,7 +126,7 @@ export const _Button = forwardRef<HTMLButtonElement, ButtonProps>(
}
return (
<StyledButton ref={ref} {...props}>
<StyledButton ref={ref} loaderPosition="center" {...props}>
{children}
</StyledButton>
);