mirror of
https://github.com/get-drexa/drive.git
synced 2025-12-01 05:51:39 +00:00
feat: decouple btn loading from disabled state
This commit is contained in:
@@ -54,7 +54,7 @@ function Button({
|
|||||||
<Comp
|
<Comp
|
||||||
data-slot="button"
|
data-slot="button"
|
||||||
className={cn(buttonVariants({ variant, size, className }))}
|
className={cn(buttonVariants({ variant, size, className }))}
|
||||||
disabled={loading || props.disabled}
|
disabled={props.disabled}
|
||||||
{...props}
|
{...props}
|
||||||
>
|
>
|
||||||
{asChild ? (
|
{asChild ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user