cal.pub0.org/lib/classNames.ts

4 lines
95 B
TypeScript

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