From abe64e02c9aa11e437946cb00fdb28729d5abed5 Mon Sep 17 00:00:00 2001 From: Brian Le Date: Sat, 9 Nov 2024 15:08:17 +0000 Subject: [PATCH] fix(Button): add svg classnames to new york style --- apps/www/src/lib/registry/new-york/ui/button/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/www/src/lib/registry/new-york/ui/button/index.ts b/apps/www/src/lib/registry/new-york/ui/button/index.ts index bad0a49ee..c6890b6e7 100644 --- a/apps/www/src/lib/registry/new-york/ui/button/index.ts +++ b/apps/www/src/lib/registry/new-york/ui/button/index.ts @@ -3,7 +3,7 @@ import { cva, type VariantProps } from 'class-variance-authority' export { default as Button } from './Button.vue' export const buttonVariants = cva( - 'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50', + 'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0', { variants: { variant: {