refactor: remove cn helper function from the editor package (#6217)
This commit is contained in:
parent
ddd4b51b4e
commit
580c4b1930
50 changed files with 123 additions and 131 deletions
4
packages/utils/src/common.ts
Normal file
4
packages/utils/src/common.ts
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
import { clsx, type ClassValue } from "clsx";
|
||||
import { twMerge } from "tailwind-merge";
|
||||
|
||||
export const cn = (...inputs: ClassValue[]) => twMerge(clsx(inputs));
|
||||
|
|
@ -1,3 +1,4 @@
|
|||
export * from "./color";
|
||||
export * from "./common";
|
||||
export * from "./emoji";
|
||||
export * from "./string";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue