Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix block test

Jonathan Summers-Muir142f2566412f
diff --git a/packages/ui/src/components/Button/Button.tsx b/packages/ui/src/components/Button/Button.tsx
index ee79aeb9dbf..bb4d0eaa138 100644
--- a/packages/ui/src/components/Button/Button.tsx
+++ b/packages/ui/src/components/Button/Button.tsx
@@ -151,7 +151,7 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
({ asChild = false, size = 'tiny', type = 'primary', children, ...props }, ref) => {
const Comp = asChild ? Slot : 'button'
- const { className, disabled, loading, icon, iconLeft, iconRight } = props
+ const { className, disabled, loading, icon, iconLeft, iconRight, block } = props
const showIcon = loading || icon
@@ -163,7 +163,7 @@ const Button = React.forwardRef<HTMLButtonElement, ButtonProps>(
ref={ref}
type={props.htmlType}
{...props}
- className={cn(buttonVariants({ type, size, disabled }), className)}
+ className={cn(buttonVariants({ type, size, disabled, block }), className)}
>
{asChild ? (
React.isValidElement(children) ? (