mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 12:30:12 +02:00
Set center loader
This commit is contained in:
@@ -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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user