From a589df7bca1cb4d845034c177a3a4044b5777860 Mon Sep 17 00:00:00 2001 From: The Command Runner Date: Tue, 18 Apr 2023 11:40:19 +0530 Subject: [PATCH] docs(www): add type keyword to ClassValue (#184) Add `type` keyword because Typescript complains, since ClassValue is only imported as a type. --- apps/www/content/docs/installation.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/www/content/docs/installation.mdx b/apps/www/content/docs/installation.mdx index 05b4a5d3be..f4f5259b90 100644 --- a/apps/www/content/docs/installation.mdx +++ b/apps/www/content/docs/installation.mdx @@ -257,7 +257,7 @@ Add the following to your `styles/globals.css` file. You can learn more about us I use a `cn` helper to make it easier to conditionally add Tailwind CSS classes. Here's how I define it in `lib/utils.ts`: ```ts title="lib/utils.ts" -import { ClassValue, clsx } from "clsx" +import { type ClassValue, clsx } from "clsx" import { twMerge } from "tailwind-merge" export function cn(...inputs: ClassValue[]) {