diff options
| author | Ilan Bigio <ilan@openai.com> | 2024-12-16 13:06:08 -0800 |
|---|---|---|
| committer | Ilan Bigio <ilan@openai.com> | 2024-12-19 16:08:22 -0500 |
| commit | 20009aed53d8864c9204d43a17895168a777d2cc (patch) | |
| tree | 754dded819869bc34a8a2a02c66ea72dac1ccd24 /webapp/lib/utils.ts | |
Initial commit
Diffstat (limited to 'webapp/lib/utils.ts')
| -rw-r--r-- | webapp/lib/utils.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/webapp/lib/utils.ts b/webapp/lib/utils.ts new file mode 100644 index 0000000..d084cca --- /dev/null +++ b/webapp/lib/utils.ts @@ -0,0 +1,6 @@ +import { type ClassValue, clsx } from "clsx" +import { twMerge } from "tailwind-merge" + +export function cn(...inputs: ClassValue[]) { + return twMerge(clsx(inputs)) +} |
