This commit is contained in:
Robert 2024-03-06 17:41:07 +07:00
parent e803cbb342
commit 31882de0e5
No known key found for this signature in database
GPG Key ID: F631C7FD957D5F22
4 changed files with 9 additions and 0 deletions

BIN
bun.lockb

Binary file not shown.

View File

@ -19,11 +19,13 @@
"@tanstack/react-router": "^1.18.3", "@tanstack/react-router": "^1.18.3",
"@tanstack/router-vite-plugin": "^1.18.1", "@tanstack/router-vite-plugin": "^1.18.1",
"autoprefixer": "^10.4.18", "autoprefixer": "^10.4.18",
"clsx": "^2.1.0",
"install": "^0.13.0", "install": "^0.13.0",
"postcss": "^8.4.35", "postcss": "^8.4.35",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",
"styled-components": "^6.1.8", "styled-components": "^6.1.8",
"tailwind-merge": "^2.2.1",
"tailwindcss": "^3.4.1" "tailwindcss": "^3.4.1"
}, },
"devDependencies": { "devDependencies": {

6
src/shared/lib/cn.ts Normal file
View File

@ -0,0 +1,6 @@
import { twMerge } from "tailwind-merge";
import { type ClassValue, clsx } from "clsx";
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}

1
src/shared/lib/index.ts Normal file
View File

@ -0,0 +1 @@
export * from "./cn";