dev: added tailwind merge helper function (#2844)
This commit is contained in:
parent
fc523c6485
commit
bf525aa2c4
5 changed files with 31 additions and 5 deletions
|
|
@ -1 +1,6 @@
|
|||
export const API_BASE_URL = process.env.NEXT_PUBLIC_API_BASE_URL ? process.env.NEXT_PUBLIC_API_BASE_URL : "";
|
||||
import { clsx, type ClassValue } from "clsx";
|
||||
import { twMerge } from "tailwind-merge";
|
||||
|
||||
export const API_BASE_URL = process.env.NEXT_PUBLIC_API_BASE_URL ?? "";
|
||||
|
||||
export const cn = (...inputs: ClassValue[]) => twMerge(clsx(inputs));
|
||||
Loading…
Add table
Add a link
Reference in a new issue