mirror of
https://github.com/bulwarkmail/webmail.git
synced 2026-10-31 16:13:15 +00:00
10 lines
378 B
TypeScript
10 lines
378 B
TypeScript
import { type ClassValue, clsx } from "clsx";
|
|
import { twMerge } from "tailwind-merge";
|
|
|
|
// Kept apart from lib/utils, which imports the settings store: the plugin
|
|
// sandbox uses the app's Button and Input, and through lib/utils every
|
|
// sandbox frame loaded and ran ten app stores it never uses.
|
|
export function cn(...inputs: ClassValue[]) {
|
|
return twMerge(clsx(inputs));
|
|
}
|