dify/web/utils/classnames.ts

9 lines
176 B
TypeScript
Raw Normal View History

import { twMerge } from 'tailwind-merge'
import cn from 'classnames'
const classNames = (...cls: cn.ArgumentArray) => {
return twMerge(cn(cls))
}
export default classNames