Skip to content

Commit 07082fb

Browse files
committed
feat: add type annotations for VariantProps and ToasterProps imports
1 parent 74a1b07 commit 07082fb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/components/ui/sidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import * as React from "react"
44
import { Slot } from "@radix-ui/react-slot"
5-
import { cva, VariantProps } from "class-variance-authority"
5+
import { cva, type VariantProps } from "class-variance-authority"
66
import { PanelLeftIcon } from "lucide-react"
77

88
import { useIsMobile } from "@/hooks/use-mobile"

src/components/ui/sonner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useTheme } from "next-themes"
2-
import { Toaster as Sonner, ToasterProps } from "sonner"
2+
import { Toaster as Sonner, type ToasterProps } from "sonner"
33

44
const Toaster = ({ ...props }: ToasterProps) => {
55
const { theme = "system" } = useTheme()

0 commit comments

Comments
 (0)