Skip to content

UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.

refactor: update clsx import in svelte installation documentation (#164)

gurshan6e65d51c2c21
diff --git a/content/docs/installation/svelte.mdx b/content/docs/installation/svelte.mdx
index 71fb3518..54dd80f9 100644
--- a/content/docs/installation/svelte.mdx
+++ b/content/docs/installation/svelte.mdx
@@ -23,7 +23,7 @@ Copy and paste the following code into your project.
```typescript
// lib/utils.ts
-import clsx, { ClassValue } from "clsx";
+import { type ClassValue, clsx } from "clsx";
import { twMerge } from "tailwind-merge";
export function cn(...inputs: ClassValue[]) {