mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
Set center loader
This commit is contained in:
@@ -118,7 +118,7 @@ export const _Button = forwardRef<HTMLButtonElement, ButtonProps>(
|
|||||||
if (tooltip) {
|
if (tooltip) {
|
||||||
return (
|
return (
|
||||||
<Tooltip withinPortal {...tooltip}>
|
<Tooltip withinPortal {...tooltip}>
|
||||||
<StyledButton ref={ref} {...props}>
|
<StyledButton ref={ref} loaderPosition="center" {...props}>
|
||||||
{children}
|
{children}
|
||||||
</StyledButton>
|
</StyledButton>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
@@ -126,7 +126,7 @@ export const _Button = forwardRef<HTMLButtonElement, ButtonProps>(
|
|||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<StyledButton ref={ref} {...props}>
|
<StyledButton ref={ref} loaderPosition="center" {...props}>
|
||||||
{children}
|
{children}
|
||||||
</StyledButton>
|
</StyledButton>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user