nitro-react/src/common/classNames.ts

2 lines
87 B
TypeScript
Raw Normal View History

2022-10-24 02:42:49 -04:00
export const classNames = (...classes: string[]) => classes.filter(Boolean).join(' ');