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

1 line
104 B
TypeScript

export const joinClassNames = (...classes: string[]) => classes.filter(className => className).join(' ')