stargaze-studio/utils/css.ts
2023-12-31 21:47:30 +03:00

6 lines
176 B
TypeScript

import { twMerge } from 'tailwind-merge'
export function classNames(...classes: (false | null | undefined | string)[]) {
return twMerge(classes.filter(Boolean).join(' '))
}