mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
feat: add className utility
This commit is contained in:
7
frontend/src/helpers/classNames.ts
Normal file
7
frontend/src/helpers/classNames.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import type { CxOptions } from "cva";
|
||||
import { cx } from "cva";
|
||||
import { twMerge } from "tailwind-merge";
|
||||
|
||||
export function cn(...inputs: CxOptions) {
|
||||
return twMerge(cx(inputs));
|
||||
}
|
||||
Reference in New Issue
Block a user