UNPKG
@ayushmxxn/serenity-ui
Version:
latest (1.3.0)
1.3.0
1.2.9
1.2.8
1.2.7
1.2.6
1.2.5
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.0
1.0.0
A CLI tool for integrating Serenity UI components into your Next.js projects.
@ayushmxxn/serenity-ui
/
lib
/
utils.ts
7 lines
(5 loc)
•
166 B
text/typescript
View Raw
1
2
3
4
5
6
7
import
{ type
ClassValue
, clsx }
from
"clsx"
import
{ twMerge }
from
"tailwind-merge"
export
function
cn
(
...inputs: ClassValue[]
) {
return
twMerge
(
clsx
(inputs)) }