react-list-ui-library/src/utils/index.ts

1 line
104 B
TypeScript
Raw Normal View History

2023-10-11 17:15:46 -06:00
export const joinClassNames = (...classes: string[]) => classes.filter(className => className).join(' ')