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