stargaze-studio/utils/css.ts

6 lines
176 B
TypeScript
Raw Normal View History

2023-12-31 18:47:30 +00:00
import { twMerge } from 'tailwind-merge'
export function classNames(...classes: (false | null | undefined | string)[]) {
return twMerge(classes.filter(Boolean).join(' '))
}