mirror of
https://github.com/ershisan99/DevToysWeb.git
synced 2025-12-16 20:49:23 +00:00
chore(dev): add cva to target of eslint-plugin-tailwindcss
This commit is contained in:
@@ -4,7 +4,7 @@ import { cva, VariantProps } from "class-variance-authority";
|
||||
import { cn } from "@/lib/style";
|
||||
|
||||
export const buttonVariants = cva(
|
||||
"inline-flex items-center justify-center transition-colors disabled:opacity-50 disabled:pointer-events-none",
|
||||
"inline-flex items-center justify-center transition-colors disabled:pointer-events-none disabled:opacity-50",
|
||||
{
|
||||
variants: {
|
||||
variant: {
|
||||
@@ -13,7 +13,7 @@ export const buttonVariants = cva(
|
||||
ghost: "hover:bg-accent",
|
||||
},
|
||||
size: {
|
||||
default: "h-9 rounded-md py-2 px-3",
|
||||
default: "h-9 rounded-md px-3 py-2",
|
||||
},
|
||||
},
|
||||
defaultVariants: {
|
||||
|
||||
Reference in New Issue
Block a user