Skip to content

Commit 22c1897

Browse files
authored
style: add type prefix to VariantProps imports across components (#213)
1 parent 5a7abef commit 22c1897

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+62
-62
lines changed

components/ui/8bit/alert-dialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import * as React from "react";
44

55
import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
6-
import { VariantProps, cva } from "class-variance-authority";
6+
import { type VariantProps, cva } from "class-variance-authority";
77

88
import { cn } from "@/lib/utils";
99

components/ui/8bit/alert.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { VariantProps, cva } from "class-variance-authority";
1+
import { type VariantProps, cva } from "class-variance-authority";
22

33
import { cn } from "@/lib/utils";
44

components/ui/8bit/badge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { VariantProps, cva } from "class-variance-authority";
1+
import { type VariantProps, cva } from "class-variance-authority";
22

33
import { cn } from "@/lib/utils";
44

components/ui/8bit/breadcrumb.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { Slot } from "@radix-ui/react-slot";
2-
import { VariantProps, cva } from "class-variance-authority";
2+
import { type VariantProps, cva } from "class-variance-authority";
33
import { MoreHorizontal } from "lucide-react";
44

55
import { cn } from "@/lib/utils";

components/ui/8bit/button.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { VariantProps, cva } from "class-variance-authority";
1+
import { type VariantProps, cva } from "class-variance-authority";
22

33
import { cn } from "@/lib/utils";
44

components/ui/8bit/calendar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { VariantProps, cva } from "class-variance-authority";
1+
import { type VariantProps, cva } from "class-variance-authority";
22
import { DayPicker } from "react-day-picker";
33

44
import { cn } from "@/lib/utils";

components/ui/8bit/card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { VariantProps, cva } from "class-variance-authority";
1+
import { type VariantProps, cva } from "class-variance-authority";
22

33
import { cn } from "@/lib/utils";
44

components/ui/8bit/checkbox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from "react";
22

33
import * as CheckboxPrimitive from "@radix-ui/react-checkbox";
4-
import { VariantProps, cva } from "class-variance-authority";
4+
import { type VariantProps, cva } from "class-variance-authority";
55

66
import { cn } from "@/lib/utils";
77

components/ui/8bit/drawer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { VariantProps, cva } from "class-variance-authority";
1+
import { type VariantProps, cva } from "class-variance-authority";
22
import { Drawer as DrawerPrimitive } from "vaul";
33

44
import { cn } from "@/lib/utils";

components/ui/8bit/dropdown-menu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
2-
import { VariantProps, cva } from "class-variance-authority";
2+
import { type VariantProps, cva } from "class-variance-authority";
33

44
import { cn } from "@/lib/utils";
55

0 commit comments

Comments
 (0)