nitro-react/src/common/classNames.ts
2022-10-24 02:42:49 -04:00

2 lines
87 B
TypeScript

export const classNames = (...classes: string[]) => classes.filter(Boolean).join(' ');