cal.pub0.org/packages/lib/classNames.ts

4 lines
106 B
TypeScript

export default function classNames(...classes: unknown[]) {
return classes.filter(Boolean).join(" ");
}